Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: more css support, step 1 (point?)

by jdporter (Canon)
on Jan 06, 2008 at 20:33 UTC ( #660691=note: print w/ replies, xml ) Need Help??


in reply to Re: more css support, step 1 (point?)
in thread more css support, step 1

The overarching point, or goal, is to replace all the hard-coded style with CSS classes (or IDs, if/where appropriate). I identified clr_highlight as one such style parameter which could easily be replaced with CSS. It is only one small step toward the goal, but it's an easy one, a viable first step. The patches (Red CSS - (patch) and kin) are only one half of this first step; the second half is to modify those places where clr_highlight is used to use the CSS classes (tr.post_head, tr.highlight, table.highlight) instead.

Do we need to talk about why CSS is better than hard-coded style?

A word spoken in Mind will reach its own level, in the objective world, by its own weight


Comment on Re^2: more css support, step 1 (point?)
Select or Download Code
Re^3: more css support, step 1 (point?)
by theorbtwo (Prior) on Jan 06, 2008 at 23:30 UTC

    Applied

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2015-07-05 06:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls