Forum Moderators: not2easy

Message Too Old, No Replies

Can't seem to style <fieldset> in Opera

Always reverts to default colour/border

         

Warboss Alex

9:09 am on Aug 22, 2004 (gmt 0)

10+ Year Member



Hey everyone,

I'm having trouble styling a <fieldset> in a form in Opera. The other browsers correctly display it, but Opera always uses the default grey 'system' colours.

CSS:
fieldset { border:0; margin-bottom:5px; margin-left:5px; padding:5px; }

I've tried border:0px and border:1px solid black; (black being the background colour of the page, so it doesn't show up), but Opera chokes on all of these..

Can anyone help?

Alex ...

Warboss Alex

11:28 am on Aug 22, 2004 (gmt 0)

10+ Year Member



Hm, actually the colour change worked.

For the record, the other two still don't!

DrDoc

7:50 pm on Aug 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



try border:none;

Which version of Opera are you using?

Hester

8:30 am on Aug 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you want to remove the fieldset altogether, I found this handy:

fieldset {border:0px solid #fff;
padding:0;}

Note the colour, even though there is no border size!