Beefy Boxes and Bandwidth Generously Provided by pair Networks httptech
Problems? Is your data what you think it is?
 
PerlMonks  

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

by fraktalisman (Hermit)
on Aug 19, 2003 at 09:55 UTC ( [id://284895]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


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

span is just like <div style=display:inline>. A quite useless tag that many HTML designers don't even know existed.
  • Comment on Re: Re: My favorite HTML font style tag is...

Replies are listed 'Best First'.
Re: Re: Re: My favorite HTML font style tag is...
by Anonymous Monk on Aug 19, 2003 at 13:04 UTC
    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!

      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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://284895]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.