Forum Moderators: not2easy

Message Too Old, No Replies

Is this normal or: Why does IE hate me?

A returning developer finds out that IE just wants to mess with you.

         

oninoken

6:18 am on Feb 17, 2006 (gmt 0)

10+ Year Member



Greatings everyone!

I committed to making a layout in pure css. This maybe silly, since it's a very graphically heavy layout, and not a styles only layout, but I digress.

Firefox displayed as expected. no biggie there. So did IE. o.O Except for *ONE* div out of about 27. This div, for whatever reason, it displayed 6 pixels out of place.

Any ideas why it does this? This was in code gerenated by imageready cs2, validated xhtml.

Oni

DrDoc

6:20 am on Feb 17, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it floated ... with a 6px margin in the same direction as the float?

oninoken

3:19 pm on Feb 17, 2006 (gmt 0)

10+ Year Member



Ahh, sorry. My first post was way too light on content.

In anycase, all of the elements were absolutely positioned through a linked style sheet. No Margins were set for any given div, though the body was set to margin 0.

I am running a psudeo class for the first child paragraph to make firefox display paragraphs the same way explorer does.

I did try setting margins to 0 for the offending divs but that didn't create any difference. I did adjust the top attribute, and while it did then display correctly in explorer, it was then 6 pixels too high in Firefox. Keep in mind, this was for one div out of about 37 or so.

Oni