Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Re: My favorite HTML font style tag is...

by Anonymous Monk
on Aug 19, 2003 at 17:04 UTC ( #284956=note: print w/replies, xml ) Need Help??


in reply to Re: Re: My favorite HTML font style tag is...
in thread My favorite HTML font style tag is...

Not useless. (caveat untested code) Say you have a css:
Warning.*{ color=#YELLOW }

and you code in your html
print "<SPAN CLASS="WARNING">"My warning</SPAN>";
all over the place, and then your phb says "make the warning section have a blue backround", all you have to do is update your css and then with no code change to current code base and a simple one line update to the css you're done!

Replies are listed 'Best First'.
Re: Re: Re: Re: My favorite HTML font style tag is...
by Anonymous Monk on Aug 20, 2003 at 09:15 UTC

    Or:

    EM.Warning{ color=#YELLOW; font-weight:normal; font-style:normal; }

    print q(<em class="Warning">My Warning</em>);

    Because obviously a warning is a kind of emphasis...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://284956]
help
Chatterbox?
[Jenda]: The apparent design principle of Perl6 operators was "Let's confuse 'em dudes." Whose braindead idea was this particular operator and the three hundred around it?
[liz]: ^10 is just a short way of saying 0..^10, which is a short way of saying 0..9

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (9)
As of 2018-07-16 16:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (344 votes). Check out past polls.

    Notices?