I am hoping someone can help me with this.
I have a div which stretches the width of the web page which is 5px high and an inner div which is 1000px wide, also 5px high, and centred.

Both divs have an x-repeating background image.

In all browsers this displays nicely - except of course IE6 which displays it as a div about 4 times as high.

Are there any workarounds for this?


I managed to solve it.
In case anyone else has the same problem I found that IE6 started to behave properly when I used a combination of setting the line-height to 5px and using overflow:hidden.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.