2 replies [Last post]
qrayg
Offline
newbie
USA
Last seen: 18 years 37 weeks ago
USA
Joined: 2004-07-09
Posts: 3
Points: 0

Take a look at this page in Firefox and IE:
http://www.solardreamstudios.com/

You'll notice that the thumbnail image in the news post has a larger margin spacing in IE but not in Firefox or Opera or Safari. I can not for the life of me figure out what is causing this.

I want it to look like the Firefox version.

I can apply a hack so that IE renders it correctly but I still don't understand why IE takes a margin: 10px and renders it exactly 20px. This only happens in this certain instance. IE renders all of my other Margins with floats perfectly fine.

Does anyone know why this is happening?

Thanks.

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 6 days 14 hours ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5344
Points: 2965

IE Doubling Margin Width

Hi qrayg,
Could be an IE bug known as the Doubled Float-Margin Bug.
http://www.positioniseverything.net/explorer/doubled-margin.html

Hope that helps

qrayg
Offline
newbie
USA
Last seen: 18 years 37 weeks ago
USA
Joined: 2004-07-09
Posts: 3
Points: 0

Thanks

Awesome... thanks for the reply and the helpful info, it worked like a charm. I really appreciate it.