Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

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

by Cine (Friar)
on Aug 18, 2003 at 18:35 UTC ( #284671=note: print w/ replies, xml ) Need Help??


in reply to My favorite HTML font style tag is...

span?

T I M T O W T D I


Comment on Re: My favorite HTML font style tag is...
Download Code
Re: Re: My favorite HTML font style tag is...
by Mr_Person (Hermit) on Aug 18, 2003 at 18:54 UTC
      Don't ruin a good joke with such feeble things as facts ;)

      T I M T O W T D I
      Bloody vikings ...

      --
      tbone1
      Ain't enough 'O's in 'stoopid' to describe that guy.
      - Dave "the King" Wilson

Re: Re: My favorite HTML font style tag is...
by fraktalisman (Hermit) on Aug 19, 2003 at 13:55 UTC
    span is just like <div style=display:inline>. A quite useless tag that many HTML designers don't even know existed.
      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
Node Status?
node history
Node Type: note [id://284671]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2015-07-07 06:54 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 (87 votes), past polls