Hallo Ihr,
kann mir jemand sagen warum in firefox die gesamte navi um ca. 2cm verschoben ist wenn ich display block benutzte? Im IE sieht alles ok aus.
Programmierung sieht so aus:
Html:
Und das CSS dazu:
Ich hoffe mir kann jemand helfen.
LG
kann mir jemand sagen warum in firefox die gesamte navi um ca. 2cm verschoben ist wenn ich display block benutzte? Im IE sieht alles ok aus.
Programmierung sieht so aus:
Html:
HTML:
<body>
<TABLE height=680 cellSpacing=0 cellPadding=0 width=983 border=0 class=centern>
<TBODY>
<TR>
<TD width=174 bgColor=#FFFFFF height=296 rowSpan=3 border="#000000">
<!----------------------------------NAVI---------------------------------------------------------->
<DIV class=inhalt_navi>
<A class=link_home href="home.htm">Home</A>
<A class=link href="start_2.htm">Hallo</A>
<A class=link href="erste.htm">Erste</A>
<A class=link href="zweite.htm">zweite</A>
<A class=link href="material.htm">Material</A>
<A class=link href="kontakt.htm">Kontakt</A>
<A class=link href="impress.htm">Impressum</A>
<A class=link_links href="links.htm">Links</A>
</DIV>
</TD>
<!----------------------------------NAVI-Ende---------------------------------------------------------->
<TD width=1 height=40> <IMG src="h1_Bilder/spacer.gif" width="1" height="1">
</TD>
</TR>
<TR>
<TD width=1 height=242><IMG src="h1_Bilder/spacer.gif" width="1" height="1">
</TD>
</TR>
</TBODY>
</TABLE>
</body>
Und das CSS dazu:
Code:
div.inhalt_navi{
top: 112px;
left: 8px;
width: 174px;
height: 272px;
display: block;
padding: 8px 0px 0px 30px;
border-right-color:#000000;
border-right-style:solid;
border-right-width:2px;
position: absolute;
z-index: 6;
}
/* -----------------------navi--rollover--------------------------------------*/
a.link {
display: block;
height:30px;
width: 174px;
background: #DCF3A0 url(Bilder/punktnavi.gif) no-repeat 11px 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
text-decoration: none;
color: #000;
padding: 8px 0px 0px 30px;
text-align: left;
border-top: 1px solid #B6E636;
border-bottom:1px solid #B6E636;
}
a.link_a {
display: block;
height:30px;
width: 174px;
background: #CCEE73 url(Bilder/punktnaviaktiv.gif) no-repeat 11px 10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
text-decoration: none;
color: #FFF;
padding: 8px 0px 0px 30px;
text-align: left;
border-top: 1px solid #B6E636;
border-bottom:1px solid #B6E636;
}
a.link:hover {
background: #B6E636 url(Bilder/punktnaviaktiv.gif) no-repeat 11px 10px;
color: #000;
padding: 8px 0px 0px 30px;
border-top: 1px solid #B6E636;
border-bottom:1px solid #B6E636;
}
Ich hoffe mir kann jemand helfen.
LG
