Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

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

by Chady (Priest)
on Aug 21, 2003 at 11:07 UTC ( [id://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/

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://285427]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (2)
As of 2024-04-19 18:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found