On Aug 19, 6:37*pm, shapper <mdmo...@gmail.comwrote:
Quote:
On Aug 19, 6:08*pm, "Jonathan N. Little" <lws4...@central.netwrote:
>
>
>> Quote: Quote: |
I defined the width of a form input as follows:
| | > Quote: Quote: |
fieldset input {width: 24em;}
| | > Quote: Quote:
But then the checkbox inputs also get a width. So I uses the
following:
| | > Quote: Quote:
<input name="IsPublished" id="IsPublished" type="checkbox"
class="test" value="Yes" />Check to publish
| | > Quote: Quote: |
fieldset input.test {width: auto;}
| | > Quote: Quote: |
But I wasn't able to reset the width. Any idea why? I also tried with:
| | > Quote: Quote: |
fieldset input.test {width: 10px;}
| | >>> Quote: |
input[type="text"] { width: 24em; }
| >>> Quote:
Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
| >
Wow, it worked fine ... didn't know that ... but is there ok for all
browsers?
>
Thanks,
Miguel
|
Hmmm it does now work with IE ... would be great to be able to use it
but I need to have this working in IE