On Fri, Feb 5, 2010 at 8:56 AM, WILSON, BECKY <bwil...@mailbox.sc.edu> wrote: > I am having trouble with padding around the text body, see: > http://www.sc.edu/aes/index.shtml > > > > Here is the CSS I'm using: > > #mainContentPad { > > padding-top: 15px; > > padding-right: 15px; > > padding-bottom: 15px; > > padding-left: 15px; > > }
You definitely want to run your site through validation first as there are several errors with your code using the DOCTYPE you're using for the page(You're evidently missing an end div tag btw). I was able to get your page to work in firefox (haven't checked in IE) by changing your style for #mainContentPad to: #mainContentPad { padding: 15px; width: 538px; float: left; } whether or not that's the best approach I don't know but it fixed your issue in firefox. -- ------------------------------------------------------------------------------------ Jason Arnold http://www.jasonarnold.net ------------------------------------------------------------------------------------ ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/