Ich habe eine Navigation erstellt, die aus normalen Listen-Elementen generiert wird.
In allen Browsern werden die Links richtig dargestellt, ausser im IE 6.0.2900.2180
Der macht unter jedem Button einen Abstand der nochmal die Höhe des Buttons selbst hat.
Hier ist das Stylesheed zur Navigation;
Betrachten und prüfen könnt Ihr die Sache hier: http://www.bost-pc-service.de/cms/
Wenn ich display:block; entferne, werden die Buttons direkt untereinander dargestellt (also nicht optisch schön, aber zumindest ist der Absatz weg).
Kann mir jemand einen Tip geben, wo da der Fehler liegt, oder ist das ein Bug vom IE
In allen Browsern werden die Links richtig dargestellt, ausser im IE 6.0.2900.2180
Der macht unter jedem Button einen Abstand der nochmal die Höhe des Buttons selbst hat.
Hier ist das Stylesheed zur Navigation;
Code:
/* Haupt-NAVI */
div#navi
{
position:relative;
top:0px;
left:0px;
background-image: url(../upload/Layout/redPanel.png);
background-repeat:repeat-y;
float:left;
width:159px;
height:10px;
text-align:left;
}
ul#Navigation
{
position:relative;
left:0px;
padding:0px;
margin:0px;
background-color:white;
}
#Navigation li
{
padding:0px;
margin:0px;
list-style-type: none;
font-size: 1em;
white-space: nowrap;
text-align:left;
text-transform:uppercase;
text-decoration:none;
}
ul#Navigation a
{
display:block;
background-color:#fff;
magrin:0px;
padding:5.5px;
padding-left:35px;
background-image: url(../upload/Layout/button.gif);
background-repeat:no-repeat;
background-position:left;
font-family:verdana, sans serif;
font-size: 0.825em;
font-weight: bold;
color: white;
}
ul#Navigation a:link
{
text-decoration:none;
}
ul#Navigation a:visited
{
color:#fff;
text-decoration:none;
}
ul#Navigation a:hover
{
text-decoration:underline;
font-style:normal;
font-weight: bold;
}
ul#Navigation a:active
{
color:gold;
}
/* META-Navi
==============*/
div#metaNavi
{
position:relative;
top:57px;
left:205px;
width:800px;
}
#MetaNavigation
{
display:inline;
}
#MetaNavigation li
{
display:inline;
font-weight: bold;
font-family: arial;
font-size: 0.95em;
padding:0px 4px;
white-space: nowrap;
text-decoration:none;
}
ul#MetaNavigation a
{
color: #616161;
}
ul#MetaNavigation a:link
{
text-decoration:none;
/*text-transform:uppercase;*/
}
ul#MetaNavigation a:visited
{
color: #616161;
text-decoration:none;
}
ul#MetaNavigation a:hover
{
text-decoration:none;
font-style:normal;
}
ul#MetaNavigation a:active
{
text-decoration:none;
color: darkred;
}
/* Bottom-Navi
==============*/
div#bottomNavi
{
position:relative;
top:8px;
left:230px;
width:800px;
}
#BottomNavigation
{
display:inline;
}
#BottomNavigation li
{
display:inline;
font-weight: bold;
font-family: arial;
font-size: 0.95em;
padding:0px 4px;
white-space: nowrap;
text-decoration:none;
}
ul#BottomNavigation a
{
color: #616161;
}
ul#BottomNavigation a:link
{
text-decoration:none;
/*text-transform:uppercase;*/
}
ul#BottomNavigation a:visited
{
color: #616161;
text-decoration:none;
}
ul#BottomNavigation a:hover
{
text-decoration:none;
font-style:normal;
}
ul#BottomNavigation a:active
{
text-decoration:none;
color: darkred;
}
Betrachten und prüfen könnt Ihr die Sache hier: http://www.bost-pc-service.de/cms/
Wenn ich display:block; entferne, werden die Buttons direkt untereinander dargestellt (also nicht optisch schön, aber zumindest ist der Absatz weg).
Kann mir jemand einen Tip geben, wo da der Fehler liegt, oder ist das ein Bug vom IE