Dean Matthews wrote:
IE6 doesn't appear to render the background correctly in a fieldset with
a legend (extends beyond top border).
Oooh, yah. Fieldsets are tricky to style. I opt to keep things simple
when it comes to fieldset/legends.
Is there a fix or alternatively how would you hide the background-color
from IE6 only.
Use Conditional Comments.[1]
Fore example (in head, after main stylesheet call):
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="/css/ie-5-6x.css" />
<![endif]-->
"IF IE on PC, and less than IE 7, Use this stylesheet (OR inline styles)"
I personally dropped support for anything less than IE 6 (just feed
un-styled content), so the above works well for me.
In your case, you would probably want to put some styling in the
conditional stylesheet that overrides your real style... maybe:
fieldset { background-color: transparent; }
...or give same background color as your container.
[1] <http://tinyurl.com/2rj39u>
Hope that helps. I am no guru, so I could have missed something.
Cheers,
Micky
--
Wishlists: <http://snipurl.com/1gqpj>
Switch: <http://browsehappy.com/>
BCC?: <http://snipurl.com/w6f8>
My: <http://del.icio.us/mhulse>
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************