Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Use node # as CSS class names?

by Aristotle (Chancellor)
on Dec 30, 2002 at 15:32 UTC ( #223044=note: print w/ replies, xml ) Need Help??


in reply to Use node # as CSS class names?

No need for PerlMonks-side changes if your browser supports CSS Level 2 - such as the venerable Mozilla. Try putting this at the end of your stylesheet:

a[HREF="/index.pl?node_id=186362"] { font-size: 2em; font-weight: bold; color: #f00; }
Of course it will need another style definition for [adrianh] style links which end up as href="/index.pl?node=adrianh", but together that should cover 99.8% of all cases.

Makeshifts last the longest.


Comment on Re: Use node # as CSS class names?
Download Code
Replies are listed 'Best First'.
Re^2: Use node # as CSS class names?
by adrianh (Chancellor) on Dec 30, 2002 at 15:49 UTC

    D'oh! I'm an idiot. I knew you could do that sort of thing....well spotted.

    ++ when tomorrow's votes come in!

    I still think this is a good idea tho'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://223044]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (7)
As of 2015-09-03 23:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (128 votes), past polls