Re: How restricting CSS-style?



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 :-)


.



Relevant Pages

  • Re: Fighting Women (For Men)
    ... >You're making arguments on a "and then we square off, ... and typically they learned it from the prev. ... they act it out on either themselves or on the ... I like the idea of chicks being able to fight hard in the ring. ...
    (rec.martial-arts)
  • Re: Debt collector harrassment
    ... you it is a civil matter. ... the Act and take it with you when you lodge your complaint. ... harasses the other with demands for payment which by their frequency, ... paragraph above if he concerts with others in the taking of such ...
    (uk.legal)
  • Columns
    ... paragraph.The second columun starts with a new paragraph. ... Thanks for any assistance. ... I am at a dead end with this one. ... Prev by Date: ...
    (microsoft.public.word.general)
  • Bumpers #655 - Monday 8.1.05 - Show #2404
    ... Crossover Tune - "Muskrat Ramble" ... this part of ACT 1, btw) ... Lance Armstrong - "Proud Mary" ...
    (alt.fan.letterman)
  • Re: STILL OT - back to the name thing Re: OT: I have a question for you.
    ... BTW - I have no opinion on either parent - I don't think I've seen either ... act. ...
    (rec.crafts.textiles.needlework)