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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Container doesn't contain??

    Here's my site...

    And excuse the slow connection, it's through my cable modem.


    So here's my problem: the container is only containing the temporary image header, but as you can see in my HTML, the container is CLEARLY around the other dividers. Is my problem in the CSS or what?

    The container is supposed to wrap around the #main text and the #sidebar all the way to the bottom of them. The borders are just there to show where things are.

    What's the deal?

    In the root directory, my CSS file is style.css.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    the absolute positioning you have in your css is taking it out of flow, so that container that is "containing" it doesn't know that that div is there
    Code:
    #main {
    width: 570px;
    border: 1px #000000 solid; 
    position: absolute;
    right: 30px;
    left: 150px;
    top: 160px;
    background-color: transparent;
    text-align: justify;
    padding-right: 10px;
    padding-left: 10px; }

  • #3
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hmm...

    Well It sure allowed the contain frame to continue, but what would I use to still have my #main container bumped over? Inherit, relative, and fixed don't work at all.

  • #4
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I'm a dolt

    I'm a dolt. Margin. Thank you so much, Aerospace_Eng!


  •  

    Posting Permissions

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