SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Visible Ninja bronze trophy
    JeffWalden's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,709
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)

    Div Height Issues (I Think)

    I'm still trying to ween myself away from tables and so far so good, but I have been having a few strange issues with <div> tags as I move forward.

    If you look at www.newalliancedev.com you will notice that the brown border around the container element does not outline the elements inside of the container. Basically, that brown border should be outlining everything as I have in the attached screenshot. The way I managed to get the screenshot was to add a height of 200px to the container element. However, I would prefer that the container is expandable instead of specifying the height.

    I may have something nested improperly or not clearing another div, I'm not sure. I've been playing with it but can't seem to figure it out. As I mentioned, all these divs are relatively new to me so I appreciate whatever explanation one can give for the reason it's doing this.

    Thanks so much for your help!
    Attached Images Attached Images
    TAKE A WALK OUTSIDE YOUR MIND.

  2. #2
    SitePoint Guru
    Join Date
    Nov 2005
    Location
    Norway
    Posts
    715
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    add overflow: hidden to #container to keep everything inside it.

  3. #3
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll second what fredda said.

    Off Topic:

    By the way Hyperbolik, I was supposed to be in Milwaukee today. How ironic, eh?

  4. #4
    Visible Ninja bronze trophy
    JeffWalden's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,709
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Dan -

    Bring your parka. I hear it's cold! I left for LA where life can exist outdoors.
    TAKE A WALK OUTSIDE YOUR MIND.

  5. #5
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Bah - I'm a Bears fan. I know the meaning of cold (especially when a dome team comes into town late in the season).


Bookmarks

Posting Permissions

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