Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Vertical space between divs (Possible IE bug?)

Status
Not open for further replies.

donishere

Programmer
May 7, 2002
101

I would like to place a div element 'x' pixels below another div element. However, IE likes to fill those 'x' pixels with the background color of the first div. However, when I scroll up and down, those 'x' pixels change to the page color. (see the left column of the page)

What is wrong?
 
IE does this bug a lot, think it's called the peekaboo bug. I didn't look at the code for your page, but assuming the red div is in some sort of container, you would do this to fix it:
Code:
* html div#container {
   height:1%;
}

-kaht

Looking for a puppy?

[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top