hallo ihr lieben,
ich versuche verzweifelt hinzubekommen, dass auch meine visited links einen hover-effekt haben. jemand hat es mir "vorgebastelt" und jetzt keine zeit mehr. ich bin motiviert, aber anfängerin. und komme nicht klar. ich zeige euch mal, wie das ausssieht:
/************ sectionLinks styles **************/
#sectionLinks{
margin: 0px;
padding: 0px;
text-align:center;
color:#2F2398;
border-color:#999999;
border-style:inset;
border-width:1;
background-repeat:repeat;
background-image:url(stripe1.gif);
}
#sectionLinks h3{
padding: 10px 0px 2px 10px;
border-bottom: 1px solid #cccccc;
background-image: url("stripe1.gif");
}
#sectionLinks a:link, #sectionLinks a:visited{
display: block;
border-top: 1px solid #ffffff;
border-bottom: 1px solid #cccccc;
background-image: url("stripe1.gif");
font-weight: bold;
padding: 3px 0px 3px 10px;
color: #003399;
}
#sectionLinks a:hover{
border-top: 1px solid #cccccc;
background-color: #DDEEFF;
background-image: url("stripe.gif");
font-weight: bold;
text-decoration: none;
}
#sectionLinks a:visited{
border-top: 1px solid #cccccc;
background-color: #DDEEFF;
background-image: url("stripe1.gif");
font-weight: bold;
color:999999;
text-decoration: none;
}
/*#sectionLinks a:hover {
display: block;
border-top: 1px solid #ffffff;
border-bottom: 1px solid #cccccc;
background-image: url("stripe1.gif");
font-weight: bold;
padding: 3px 0px 3px 10px;
color: #003399;
}*/
die html:
<body>
<div id="masthead">
<img border="1" src="image/banner_pur.jpg" width="100%">
<table border="0" cellspacing="1" width="100%">
<tr>
<td><div id="sectionLinks"><a href="index.html">Home</a></div></td>
<td><div id="sectionLinks"><a href="mich.html">(M) ich</a></div></td>
<td><div id="sectionLinks"><a href="touren.html">Touren</a></div></td>
<td><div id="sectionLinks"><a href="hamburg.html">Hamburg</a></div></td>
<td><div id="sectionLinks"><a href="kontakt.html">Kontakt</a></div></td>
<td><div id="sectionLinks"><a href="impressum.html">Impressum</a></div></td>
<td><div id="sectionLinks"><a href="tipps.html">Tipps</a></div></td>
</tr>
<tr>
<td colspan="7"> <p>Hamburg</p>
<p align="center"><b>
</b></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p></td>
</tr>
<tr>
<td><div id="sectionLinks"><a href="index.html">Home</a></div></td>
<td><div id="sectionLinks"><a href="mich.html">(M) ich</a></div></td>
<td><div id="sectionLinks"><a href="touren.html">Touren</a></div></td>
<td><div id="sectionLinks"><a href="hamburg.html">Hamburg</a></div></td>
<td><div id="sectionLinks"><a href="kontakt.html">Kontakt</a></div></td>
<td><div id="sectionLinks"><a href="impressum.html">Impressum</a></div></td>
<td><div id="sectionLinks"><a href="tipps.html">Tipps</a></div></td>
</tr>
</table>
</div>
</body></html>
danke für hilfe
angela
ich versuche verzweifelt hinzubekommen, dass auch meine visited links einen hover-effekt haben. jemand hat es mir "vorgebastelt" und jetzt keine zeit mehr. ich bin motiviert, aber anfängerin. und komme nicht klar. ich zeige euch mal, wie das ausssieht:
/************ sectionLinks styles **************/
#sectionLinks{
margin: 0px;
padding: 0px;
text-align:center;
color:#2F2398;
border-color:#999999;
border-style:inset;
border-width:1;
background-repeat:repeat;
background-image:url(stripe1.gif);
}
#sectionLinks h3{
padding: 10px 0px 2px 10px;
border-bottom: 1px solid #cccccc;
background-image: url("stripe1.gif");
}
#sectionLinks a:link, #sectionLinks a:visited{
display: block;
border-top: 1px solid #ffffff;
border-bottom: 1px solid #cccccc;
background-image: url("stripe1.gif");
font-weight: bold;
padding: 3px 0px 3px 10px;
color: #003399;
}
#sectionLinks a:hover{
border-top: 1px solid #cccccc;
background-color: #DDEEFF;
background-image: url("stripe.gif");
font-weight: bold;
text-decoration: none;
}
#sectionLinks a:visited{
border-top: 1px solid #cccccc;
background-color: #DDEEFF;
background-image: url("stripe1.gif");
font-weight: bold;
color:999999;
text-decoration: none;
}
/*#sectionLinks a:hover {
display: block;
border-top: 1px solid #ffffff;
border-bottom: 1px solid #cccccc;
background-image: url("stripe1.gif");
font-weight: bold;
padding: 3px 0px 3px 10px;
color: #003399;
}*/
die html:
<body>
<div id="masthead">
<img border="1" src="image/banner_pur.jpg" width="100%">
<table border="0" cellspacing="1" width="100%">
<tr>
<td><div id="sectionLinks"><a href="index.html">Home</a></div></td>
<td><div id="sectionLinks"><a href="mich.html">(M) ich</a></div></td>
<td><div id="sectionLinks"><a href="touren.html">Touren</a></div></td>
<td><div id="sectionLinks"><a href="hamburg.html">Hamburg</a></div></td>
<td><div id="sectionLinks"><a href="kontakt.html">Kontakt</a></div></td>
<td><div id="sectionLinks"><a href="impressum.html">Impressum</a></div></td>
<td><div id="sectionLinks"><a href="tipps.html">Tipps</a></div></td>
</tr>
<tr>
<td colspan="7"> <p>Hamburg</p>
<p align="center"><b>
</b></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<p></td>
</tr>
<tr>
<td><div id="sectionLinks"><a href="index.html">Home</a></div></td>
<td><div id="sectionLinks"><a href="mich.html">(M) ich</a></div></td>
<td><div id="sectionLinks"><a href="touren.html">Touren</a></div></td>
<td><div id="sectionLinks"><a href="hamburg.html">Hamburg</a></div></td>
<td><div id="sectionLinks"><a href="kontakt.html">Kontakt</a></div></td>
<td><div id="sectionLinks"><a href="impressum.html">Impressum</a></div></td>
<td><div id="sectionLinks"><a href="tipps.html">Tipps</a></div></td>
</tr>
</table>
</div>
</body></html>
danke für hilfe
angela
Zuletzt bearbeitet: