Jay,
100% width isn't a problem figure – the elements you are giving the
width to are actually wider than simply their width, which causes the
problem: In your second example, you would have to remove the padding
and border of the fieldset that are added to the width by default in
most browsers. If you want the fieldset to sit entirely within the
confines of the form, you would also have to remove the padding on the
form, as so:
fieldset,
form
{
border: none;
padding: 0;
}
These confusing issues are part of the wider headache that are 'default
styles' – they are different for all browsers and user can even
customise them, so you never know what to get. A lot of people use
'reset styles' to reformat these mystery values – Eric Meyer's set of
rules being very popular:
http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
Regards,
Barney
______________________________________________________________________
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/