CSS bug in IE or coding error? Workaround?

  • Thread starter Thread starter RMT
  • Start date Start date
R

RMT

Hi,

I have a couple of CSS elements for placing images on a page, allowing text
to wrap around them:

..imagewrapleft {
width: auto;
float: left;
background: #ffffff;
padding: 6px;
margin-right: 6px;
margin-bottom: 6px;
}

..imagewrapright {
width: auto;
float: right;
background: #ffffff;
padding: 6px;
margin-left: 6px;
margin-bottom: 6px;
}

These elements can be seen in use on this page:
http://www.thermoteknix.com/content/english/stories/story28/index.html (the
two race-car images, top and bottom).

With Firefox/Mozilla, all is well, but with Internet Explorer, the race-car
images are squashed or stretched but un-squash if you right click on the
picture and select "properties"! Refreshing IE reverts them back to their
previous incorrect width and height. Is this a bug in IE CSS
implementation, or an error in my CSS?


Thanks,


Robin
 
The images appear the same in IE6 SP2 as in FireFox1.0

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
Hi refresh in IE and see the top one will shrink horizontally. Right click
"properties" and it will return to it's proper size. I'm using IE 6 SP-2
also.
 
Ok, I see now.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
I guess there isn't a resolution to this - ie. it's another bug in IE CSS
implementation :(.
 
Back
Top