Chris Anderson wrote: > Hi All > > > My example is having a 100% width and height div, but with a margin of 10px > around it to create a border. This should demonstrate my issue, even though > it's not exactly how my site is designed. However the div goes off the > right hand side and the bottom of the page, despite having experimented with > both margins and padding on both the body and the div. My example page HTML > below: > > Margins, borders and padding are all in addition to any width you have specified. Remove the 100% width and height from your contentdiv. You are getting 100% + 1px border + 2*10px margin.
Lori ______________________________________________________________________ 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/
