I'm trying to set up a new site relying on div and css (what an adventure

Now I got stuck in calculating the widths of page and different elements (divs). It seems that all these browsers out there are handling this in a different manner

Am I going to be forced to use different style sheets and a browser detection or is there a simpler way to handle this? How do you deal with this one?
Any help is really appreciated!
Many thanks in advance!
Greetings
claus