|
Posted by Martin Mφller on 09/15/05 13:36
Hello Group,
I found myself in the Internet a nice CSS code to have a
mouseover menu with text in the buttons.
Thus the following third, differently styled link ("back") is not supposed
to be affected by that CSS style, but the background image (and mouseover)
keeps
on appearing also behind that "back" link. How can I avoid this?
Is there a way to restrict CSS to the two links? Or is there a
way to "isolite" the formatting of the third link from the CSS style?
Any hints?
Martin
This is the code:
<style type="text/css">
<!--
a {
display:block;
height:10px;
width:180px;
padding:4px;
font-size:14px;
font-family:Verdana, Arial, sans-serif;
font-weight:bold;
text-decoration:none;
text-align:center;
margin:20px;
background-image:url(Balken.gif);
}
a:hover {
display:block;
background-image:url(Balken_over.gif);
}
-->
</style>
<p style="margin-left: 120">
<a href="file1.html"><font color="#000000">menu this</font></a>
<a href="file2.html"><font color="#000000">menu that</font></a>
</p>
<a href="index.html"><font style="FONT-SIZE:12pt" font face="Trebuchet
MS,Arial,Helvetica" color="#cc0000">back</font></a>
Navigation:
[Reply to this message]
|