Re: style.background image problem in IE -
11-10-2005
, 05:53 AM
I would guess it's nothing wrong with your code (it works in Firefox),
but the blame lies with the usual half-baked job of Microsoft's
implementation of IE.
For example, this simple snippet:
div.header-line {
position: absolute;
top: 0px;
left: 0px;
width: 170px;
height: 4px;
z-index: 0;
background-color: #d0fdf7;
}
would render a line 170 pixels long, 4 pixels high, with color d0fdf7,
right?
Yep, in Firefox, Opera, Mozilla etc it does, but in IE (6.0) the height
is a constant 14 pixels high. Only when the height is set to more than
14 it starts to render the height correctly!
That this POS of a browser is still being used is beyond me.
Baalbek |