On Aug 22, 2007, at 10:15 PM, Jay Levitt wrote: > http://www.jay.fm/files/overlapping2.html > > What's going on here? Are the two problems actually the same, and if > so, what's the right solution to get the fieldset to stay inside the > form? I'd think this would be a common problem but Googling and list > archives haven't revealed anything.
You declare a width: this applies to the content width of the box (in this case: a fieldset). But fieldset (default browser style) has also padding on both left and right, and a border. Those are not included in the specified width. That is all known as the 'box model' <http://www.w3.org/TR/CSS21/box.html> A fieldset being a block-level element will automatically expand to the full width of the parent box, you don't need to specify a width (especially, as you use 100%). Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ 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/
