hallo,
hatte folgenden css code:
div#content {
position: relative;
top: 15px;
left: 20%;
width: 80%;
}
da im ie der block content leider mehr als 15 px nach unten rutscht, hatte ich folgendes zusätzlich eingefügt:
* html div#content {
top: 0px;
}
das funktioniert aber leider auch nicht so wie gewünscht. deshalb stelle ich mir vor, dass ich das ganze so löse:
div#content {
position: relative;
left: 20%;
width: 80%;
}
* html div#content { // nur für den IE
top: 0px;
}
html > div#content { // nur für den firefox
top: 15px;
}
leider reagiert der firefox nicht auf die letzte anweisung. was stimmt da nicht?
gruss, martin