[thelist] Re: thelist Digest, Vol 9, Issue 10
Ken Wan
kwan at tourismwhistler.com
Wed Nov 5 13:23:33 CST 2003
Thanks Paul.
After I left work yesterday (actually, late at night when my brain processes
stuff before bed), I realized what I was doing wrong. I have to remember the
box model! I was applying one style to both the <form> and the <input> tags
when I really needed to make two styles, one for each tag.
I now got it working the way I need.
Much appreciated.
Ken
On 11/5/03 3:40 AM, "thelist-request at lists.evolt.org"
<thelist-request at lists.evolt.org> wrote:
>> ...
>>
>> When I try to create a class to apply to the form, it completely buggers it
>> up, clipping the field/button without repositioning the text. In addition,
>> the field and the button are not the same height.
>>
>> Any suggestions/ideas?...
>>
> you can acess the style properties of form components directly:
> eg:
>
> input
> {
> height: 20px;
> width: 100px;
> border: solid 1px #000;
> }
>
> etc.
>
> by giving id's / classes to your form components (selects, radois,
> inputs etc) you can style input type="text" differently from input
> type="submit" for example
>
> Does that help?
More information about the thelist
mailing list