View Full Version : No pad, no margin?

02-03-2007, 07:44 AM
REF: http://www.moderntimes.com/tmp/

Here's my problem. Normally if I include padding at both the right, and left, the results will be as coded. But for some reason I can't get the padding for the right side to work here?

I don't think my CSS is wrong?


02-03-2007, 08:54 AM
#container has an effective width of 550 pixels while #wrapper has a content width of 510 pixels. This is causing #container to overflow #wrapper. Changing the background color of #container should make it clearer as to what’s happening.

02-03-2007, 05:36 PM
Yes, that really clears matters up. I increased the width of the wrapper it every thing's okay. Changing the color shows it very clear, great idea.

Thank you,