Posted by Martin Mφller on 09/15/05 14:51
Hello Els,
thank you very much for the quick answer!!
The p.navigation did the job :-)
Thus I had to keep the <p>-tag to work with p.navigation instead
of changing it to the (maybe more logical) <ul>
Martin
Els wrote:
>
> p.navigation a {
> display:block;
> height:1em;
> width:180px;
> padding:4px;
> color:#000000;
> font-size:100%;
> font-family:Verdana, Arial, sans-serif;
> font-weight:bold;
> text-decoration:none;
> text-align:center;
> margin:20px;
> background-image:url(Balken.gif);
> }
> p.navigation a:hover{
> background-image:url(Balken_over.gif);
> }
>
> That way only the links in that particular <p> element will take on
> that styling. Any other links will just act like they normally would.
>
> Btw - looks like you'd better use:
> <ul id="navigation">
> <ul>
> <li><a href="file1.html">menu this</a></li>
> <li><a href="file2.html">menu that</a></li>
> <ul>
>
> It is after all a list of links, not a paragraph :-)
[Back to original message]
|