Matt Tibbits wrote:
> I have a fieldset within a fieldset, I cannot put a top margin on the nested
> fieldset. 
>
> Here’s a silly little example: HYPERLINK
> "http://www.tibbits.ca/webdev/test.php"http://www.tibbits.ca/webdev/test.php
>
> It doesn’t seem to matter whether or not there is text floated to the left
> of this nested fieldset element. I’m thinking that it probably has something
> to do with the preceeding inline element occurring in the form of a legend
> tag…but not really sure. 
>   

Actually, when I removed the float on the label, it *did* recognize top 
margin in FF, so it seems to me it does matter whether there is text 
floated to the left of the fieldset. Now, whether it should matter is a 
different story. I don't think it should. I don't have time to test on 
other browsers to see where exactly this bug occurs. (Could you post a 
page with a top margin on the nested fieldset so it's easier to test 
please?)

But I think you can change your markup and avoid the whole problem. You 
shouldn't have a label element sitting outside of a fieldset -- it can't 
label the fieldset. That's what the legend element is for. So, just get 
rid of that label entirely and make its text the legend of the nested 
fieldset instead of the "select one" text that is there now.

Zoe

-- 
Zoe M. Gillenwater
Design Services Manager
UNC Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
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