Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Apr 2005
    Posts
    315
    Thanks
    18
    Thanked 2 Times in 2 Posts

    No pad, no margin?

    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?

    Thanks

  • #2
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,387
    Thanks
    32
    Thanked 288 Times in 282 Posts
    #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.
    For every complex problem, there is an answer that is clear, simple, and wrong.

  • #3
    Regular Coder
    Join Date
    Apr 2005
    Posts
    315
    Thanks
    18
    Thanked 2 Times in 2 Posts
    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,
    Michael


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •