[css-d] styling the label

2005-09-04 Thread Scott Hamm
When I tried to set width on label, it works in IE, but not in FireFox. HTML: Operator:   ... CSS: div#selects label { border:1px solid #000; width:200px; } -- Please avoid sending me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html

Re: [css-d] styling the label

2005-09-04 Thread David Dorward
On 01/09/05, Scott Hamm <[EMAIL PROTECTED]> wrote: > When I tried to set width on label, it works in IE, but not in FireFox. > div#selects label { > border:1px solid #000; > width:200px; The width property does not apply to elements that are displaying inline. If you have IE6 in q

OFF-LIST RE: [css-d] styling the label

2005-09-04 Thread Uwe Kaiser
On 01.09.2005 15:01, Scott Hamm wrote: When I tried to set width on label, it works in IE, but not in FireFox. HTML: Operator:   ... CSS: div#selects label { border:1px solid #000; width:200px; } As David Dorward wrote already: You can't style a inline element, unless you