Ich habe mir eine neu Homepage gebaut und habe das Layot mit divs realisiert. Nun habe ich das Problem, das die Positionen der divs im IE anders dargestellt wird als im Mozilla oder Safari.
Folgendes habe ich gemacht:
<body style="margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px;" bgcolor="#ffffff">
dann habe ich mir einen Container gebaut, um das Layout zu zentrieren:
<div style="width:100%; height:100%; text-align:center;">
<div style="width:1024px; height:768px; margin:auto; text-align:left;">
Innerhalb dieser divs habe ich dann die einzelnen divs fürs Layout gesetzt:
<div style="position:relative; left: 128px; top: -4px; width: 448px; height: 29px;"><img src="images/mhp.jpg" /></div>
<... usw ...>
In Safari und Mozilla sieht es gut aus, im IE sind einige divs etwas versetzt. Hat jemand eine Idee, warum das so ist und was ich den Fehler beheben könnte?
Danke
Tom