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

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

by Chady (Priest)
on Aug 21, 2003 at 11:07 UTC ( #285427=note: print w/ replies, xml ) Need Help??


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

Ok, but what about:

<h3><span>Some</span> header</h3> <p> Some paragraph. </p>
with this CSS:
h3 span { color: red; }
Some designs need that.
He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

Chady | http://chady.net/


Comment on Re: Re: Re: Re: My favorite HTML font style tag is...
Select or Download Code
Re: Re: Re: Re: Re: My favorite HTML font style tag is...
by BUU (Prior) on Aug 22, 2003 at 03:42 UTC
    You wouldn't write that. You would write:
    <h3><em>Some</em> Header</h3> <p> stuff </p>
    CSS
    h3 em { color: red; }
      This then, :D
      <h3 class="header1"><span>Some Header</span></h3> <p> stuff </p>
      CSS
      h3.header1 span { display: none; } h3.header1 { width: 200px; background: white url('images/header1.png') top left no-repeat; height: 25px; padding: 0px; }
      Fahrner Image Replacement

      P.S: I know about the one without the span ;)


      He who asks will be a fool for five minutes, but he who doesn't ask will remain a fool for life.

      Chady | http://chady.net/

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-08-30 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls