Problem: margin-left/right funktioniert nur im IE?
Also ich hab mir eine Navigation gebaut, hier folgender Code:
Das Problem hierbei ist, dass die Navigation nur im IE korrekt angezeigt wird? Liegt das eventuell an margin-left/right? Und was kann ich machen?
Vielen Dank.
MFG Eminem
Also ich hab mir eine Navigation gebaut, hier folgender Code:
Code:
<style type="text/css">
<!--
TD.linkbutton a{
text-decoration: none;
margin-left: 10px;
margin-right: 10px;
padding-top: 2px;
padding-bottom: 2px;
height: 18px;
width: 100px;
border: 1px solid #000000;
font-family: tahoma, verdana, arial, helvetica;
font-size: 12px;
font-weight: regular;
text-align: center;
color: #CC0000;
background-color: #999999;
}
TD.linkbutton a:hover{
color: #ffffff;
background-color: #666666;
}
#navi {
background-color: #999999;
border: 1px solid #000000;
}
-->
</style>
<table id="navi" border="0" width="600" height="28" cellspacing="0" cellpadding="0">
<tr>
<td class="linkbutton"><a href="">neuigkeiten</a></td>
<td class="linkbutton"><a href="">produkte</a></td>
<td class="linkbutton"><a href="">wunschliste</a></td>
<td class="linkbutton"><a href="">philosophie</a></td>
<td class="linkbutton"><a href="">kontakt</a></td>
<td class="linkbutton"><a href="">impressum</a></td>
</tr>
</table>
Das Problem hierbei ist, dass die Navigation nur im IE korrekt angezeigt wird? Liegt das eventuell an margin-left/right? Und was kann ich machen?
Vielen Dank.
MFG Eminem
Zuletzt bearbeitet: