Moin.
bei meiner Seite wird die horizontale Liste verschoben. Wenn ich margin: -x angebe positioniert er das Menü im FF richtig, nur im IE falsch.
Habe schon diverse Beiträge gelesen, doch ich finden keine Lösung.
Code:
#header-nav {
position : relative;
float : left;
height : 21px;
width : 795px;
display : block;
border-spacing : 0;
margin : 0;
padding : 0;
background-color: #000000;
}
#header-nav ul.nav1st li {
float : left;
height : 21px;
}
#header-nav ul.nav1st a, #header-nav ul.nav1st a:link, #header-nav ul.nav1st a:visited {
display : block;
line-height : 21px;
margin-right : 1px;
padding-left : 25px;
padding-right : 25px;
color : #ffffff;
font-size : 11px;
background-color:#1b8ed3;
}
#header-nav ul.nav1st a:hover, #header-nav ul.nav1st li.active a, #header-nav ul.nav1st li.active a:link {
text-decoration : none;
background-color: #581688;
}
#navigation {
position : relative;
clear : left;
left : 0px;
width : 795px;
height : 21px;
margin : 0;
padding : 0;
}
Die Seite findet ihr unter: http://www.tcwarstein.de/wilhelmsburg/
Danke im vorraus.