Topic: IE vs. Firefox - CSS Shift Pages that link to <a href="https://ozoneasylum.com/backlink?for=28495" title="Pages that link to Topic: IE vs. Firefox - CSS Shift" rel="nofollow" >Topic: IE vs. Firefox - CSS Shift\

 
Author Thread
Stackelberg
Bipolar (III) Inmate

From:
Insane since: Jul 2006

IP logged posted posted 10-02-2006 15:54 Edit Quote

Simple question - what property causes absolutely positioned div's to shift downwards in Firefox (relative to their correct positioning in IE?)
Thanks

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 10-02-2006 17:55 Edit Quote

Probably a not defined margin or padding.

Stackelberg
Bipolar (III) Inmate

From:
Insane since: Jul 2006

IP logged posted posted 10-02-2006 18:42 Edit Quote

Padding *and* margin are both set to 0 0 0 0;
Any other ideas? Xhtml validates otherwise.

Ramasax
Maniac (V) Inmate

From: PA, US
Insane since: Feb 2002

IP logged posted posted 10-02-2006 18:45 Edit Quote

Make sure you have also set the margin to 0 on any block level elements inside the div as well, for example headers and p tags.

Ramasax
www.AmericanSerf.us

reisio
Paranoid (IV) Inmate

From: Florida
Insane since: Mar 2005

IP logged posted posted 10-02-2006 19:09 Edit Quote

http://www.complexspiral.com/publications/uncollapsing-margins/



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu