Reply to How restricting CSS-style?

Your name:

Reply:


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>

[Back to original message]


УдалСнная Ρ€Π°Π±ΠΎΡ‚Π° для программистов  •  Как Π·Π°Ρ€Π°Π±ΠΎΡ‚Π°Ρ‚ΡŒ Π½Π° Google AdSense  •  England, UK  •  ΡΡ‚Π°Ρ‚ΡŒΠΈ Π½Π° английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация