Hallo.
Habe ein Problem und zwar unterscheiden sich die darstellungen einer Datei zw. Ie und Moz und ich weiß einfach nicht warum.
Ich finde den fehler nicht. Also es muss irgendwie mit der wechselbeziehung zw. li-Tag und a-Tag zu tun haben. Ich poste mal den css stylesheet code.
Danke für Eure Hilfe.
Zum angucken:
http://www.schwimmen-siegen.de/navi1.html
Code
#navi
{
float: left;
width: 140px;
height: auto;
padding: 0px;
margin: 0px;
}
#navi ul
{
list-style: none;
margin: 0px;
padding: 0px;
}
#navi ul li
{
margin: 0px;
}
#navi ul li a
{
display: block;
padding-top: 6px;
padding-bottom: 6px;
padding-left: 13px;
text-decoration: none;
font-size:10px;
font-family:Verdana, Arial, Helvetica, sans-serif;
width: 140px;
font-weight:900;
}
html>body #navi ul li a
{
width: auto;
}
li.active
{
}
ul#menu
{
list-style-type: none;
margin: 0;
padding: 0;
/*background-image:url(../bilder/Unbenannt-1.jpg);
background-repeat: no-repeat;
background-color:#CC0000;*/
width: 140px;
height: 520px;
}
ul#menu ul
{
display: none;
text-align: left;
list-style-type: none;
margin-left:0px;
}
ul#menu li,
ul#menu a
{
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 10px;
color: #d0d0d9;
}
ul#menu li
{
border-bottom: none;
line-height: 12px;
}
ul#menu li.active
{
border-bottom: none;
line-height: 12px;
}
ul#menu a
{
text-decoration: none;
outline:none;
}
/*Untermenü*/
ul#menu a.sub
{
background-color: #0066CC;
width: 140px;
color: #d0d0d9;
font-weight:normal;
font-family:Georgia, "Times New Roman", Times, serif;
}
/*beim drüber gehen*/
ul#menu a:hover
{
color: #d0d0d9;
background-color: #000066;
width: 140px;
}
ul#menu a:link
{
color: #d0d0d9;
}
ul#menu a.active
{
color: #d0d0d9;
}
Alles anzeigen