Using classes is correct and h1.two is perfectly legal. If it is not
working that's because of some coding error on your end.
put this in your css:
h1.two {font-size: 3em; color: #ff6600;text-decoration:overline;}

put this in your code:
<h1 class="two">This is a big orange heading with a line at the top</h1>

--
William Gaffga
www.wilyguy.net/portfolio/
http://www.linkedin.com/in/willgaffga
H: 805-492-0192
M: 805-405-6602
S: willgaffga


On Fri, Jun 22, 2012 at 5:06 PM, John <j...@coffeeonmars.com> wrote:

> I hope I'm (A) using the right term and (B) not asking something really
> dumb..
>
> I'm in a situation where I could use a variation of my h1 tag, but I don't
> know whether that's a legal move, or even the right way to do it.
>
> Assuming it's legal, I've tried h1.two (as opposed to just h1) to get my
> variant, but this doesn't seem to work.
>
> I know that it can be done with classes, as in: p.first, p.body, etc.
>
> Am I barking up the wrong tree? Should I bark up a vine instead? Is that
> vine a poisonous snake?
>
> thank you!
>
> John
> ______________________________________________________________________
> css-discuss [css-d@lists.css-discuss.org]
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/
> List policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
>
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to