Div Height Problem IE6

Posted on 2007-10-05
Last Modified: 2011-04-14
I am completely confused right now as to what is happening...

I have a div that is supposed to be only 7 pixels high, however it doesn't seem to be constraining the height.

      background:url('/themes/water/img/schedule/bkg-bottom.gif') repeat-x bottom center;
      border-top:1px solid #699;
      border-left:1px solid #999;
      border-bottom:1px solid #999;
      border-right:1px solid #999;

There is no content within the div and it's really just supposed to display the texture graphic for the bottom. If I remove the height it will collapse completely with only the border showing. However when it's 7px it makes the hight 14pixels or so for no reason. I Took the HTML out completely on it's own so it would not be affected by other styles and it still doesn't work right.

This is the last thing holding me up so any help would be appreciated.
Question by:Isisagate
    1 Comment
    LVL 30

    Accepted Solution


    add overflow:hidden; to the css and it should fix


    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
    This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
    The viewer will learn how to dynamically set the form action using jQuery.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now