This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Dreamweaver > July 2005 > Two values for p { .......
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Two values for p { .......
|
|
| Michael Doig 2005-07-30, 11:16 pm |
| Hello I was just curious if I could set two values for the paragraph font. On
the whole site except one page I want the size to be 100%. On another page I
need it to be 90%, but the 90% page is a menu so there is a lot of formatting
h1, h2, h3, and p. I don't just want to select the text and lower the size, is
there a way to add it to the style sheet?
Thanks,
Mike
| |
| Murray *TMM* 2005-07-30, 11:16 pm |
| Sure. Define p.onesize, and p.othersize (each having styles that set the
desired sizes), and apply those custom classes as you see fit, e.g.,
<p class="onesize">this is one size text</p>
<p class="othersize">and this is the other size</p>
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
"Michael Doig" <webforumsuser@macromedia.com> wrote in message
news:dch995$n6n$1@forums.macromedia.com...
> Hello I was just curious if I could set two values for the paragraph font.
> On
> the whole site except one page I want the size to be 100%. On another page
> I
> need it to be 90%, but the 90% page is a menu so there is a lot of
> formatting
> h1, h2, h3, and p. I don't just want to select the text and lower the
> size, is
> there a way to add it to the style sheet?
> Thanks,
> Mike
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|