css - background-color not set for the whole container

D

Dario Zuffi

Hello,

I want to have the background-color set for a container. With firefox I
get the result I expect. The grey background is set from 14px top to
100px from the bottom.

With IE6 the background-color is only set for those lines that contain
text and not till 100px from the bottom.

#right {
position: absolute;
top: 14px;
bottom: 100px;
left: 272px;;
width: 600px;
background-color: #eeeeee;
overflow: auto;
}

Any idea? THANKS!

Dario
 
D

David Dorward

Dario said:
With IE6 the background-color is only set for those lines that contain
text and not till 100px from the bottom.
position: absolute;
top: 14px;
bottom: 100px;

Internet Explorer does not support height calculations based on the
positioning of opposite edges. I'm not aware of any workaround for it (The
badly named IE7 JavaScript hack would be the first place I'd check for a
possible solution).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top