mr.glupen from Ireland
2009-03-15 04:42:53 UTC
I've just coded a site using a table-less div layout. It was designed using Firefox as the main reference browser and displays perfectly just the way I want it.
However, in other browsers such as Safari or IE7, the divs are off by a good few pixels. That's normal and I know how to make browser specific stylesheets but:
In Safari, for example, all divs are off by about 10px relative to the container. Now, there are two particular divs which seem off by more than that (approx 87px).
Why does this happen & why do different browsers render the layout differently anyways? Surely, "left: 700px; top: 450px;" is the same in every browser just like a pixel is the same everywhere?
Any explanations are much appreciated!
Cheers.