View Full Version : CSS absolute position

07-10-2005, 02:35 AM
Does anybody know how to make Firefox and IE6
place elements in the exact same position
on a web page?

I'm trying to do this using CSS absolute position
but the results are different depending on
which browser is used.

Here's my test page:


If you look at it with both browsers,
you'll see what I mean.

Same HTML, same CSS, different results.

Yes, I'm very new to CSS

Thanks in advance

07-10-2005, 04:57 AM
The goal isn't to get it looking the same in all browsers, that is next to impossible. Rather, get it so it looks good in each browser. There are many more browsers out there besides FF and IE6. You will have a head start in most modern browsers though if you write to strict standards, use a strict doctype and take active control of both the margins and padding of the body element rather than allowing the browsers to decide.