Hi all,

I've recently run into a new (to me) bug in IE6 and IE7 regarding 
fieldsets and legends.  I've been bashing my head against my desk for a 
couple days now and would appreciate it if anybody could let me know 
what the heck is going wrong.

I'm using a position:absolute fix to place the Legend in the right spot, 
targeting IE with a conditional comment.  At first, I was having 
problems with the Legend not rendering in IE on a single fieldset, while 
other fieldsets on the same page (with almost identical contents) 
displayed the Legend as expected.

I finally discovered that the Legend could be rendered by segregating 
the content by wrapping everything inside the fieldset except the Legend 
in a div (incidentally, placing an empty div between the Legend and 
following Label tag has the same effect).  However, adding that div 
caused IE to add a sizable hunk of whitespace further down the form.

I've created a somewhat minimal, very ugly test case here:

http://www.toxicwombat.com/fieldset_weirdness.html

Any assistance will be greatly appreciated, either with getting IE to 
consistently display the Legend without the added div, or dispensing 
with the unwanted space while using the additional div.

Please note that "The Powers That Be" have decided that the site only 
needs to support IE6+, Firefox, Opera, and Safari (any browser used by 
over 1% of visitors to our servers), so I'm in the enviable position of 
being able to give IE5win and IE5mac the finger...

Thanks,
-charles
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to