css - background-color not set for the whole container

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

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!


Re: css - background-color not set for the whole container

Dario Zuffi wrote:

Quoted text here. Click to load it

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).

David Dorward       <http://blog.dorward.me.uk/ <http://dorward.me.uk/
                     Home is where the ~/.bashrc is

Site Timeline