[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Div Height Problem IE6

Posted on 2007-10-05
1
Medium Priority
?
1,789 Views
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.

div.crewfooter
{
      height:7px;
      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;
      padding:0px;
      margin:0px;
}


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.
0
Comment
Question by:Isisagate
1 Comment
 
LVL 30

Accepted Solution

by:
Mark Steggles earned 2000 total points
ID: 20024263
Hello,

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

Thanks
Steggs
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

872 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