HighDots Forums  

CSS and text formats

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss CSS and text formats in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
laserjoe
 
Posts: n/a

Default CSS and text formats - 06-01-2006 , 04:34 AM






hello in dreamweaver there is basically paragraph , h1, h2, and preformatted. I
was wondering what people do if they want to use more than those titles do they
manual code uptop new names or can I add my custom tags in the format box.

I am a newbie at css and I am just learning today. I mean to use one css file
and running out quick of things to call text to get different size an dcolor
effects etc.

Just any little tips on whats the norm as I teach myself msessing around


Reply With Quote
  #2  
Old   
andy_forbes
 
Posts: n/a

Default Re: CSS and text formats - 06-01-2006 , 07:03 AM






I think H tags go up to H5 in DW don't they? Also you can apply classes to the tages such as <p class="bluefont"></p>
then have a style sheet:
..bluefont { styles }

Andy

Reply With Quote
  #3  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: CSS and text formats - 06-01-2006 , 10:05 AM



<h#> tags go up to <h6> in HTML. DW does HTML.

Quote:
Also you can apply classes to the tages such as <p class="bluefont"></p
This would be a last resort, and usually leads to unmanageable bloat of your
CSS files, as they become loaded with custom classes. Learn how to use
descendent selectors and let CSS's cascade do the heavy lifting for you.

And, frankly, if you are running out of things to style your text, I'd say
you are using too many styles on the page.

--
Murray --- ICQ 71997575
Adobe Community Expert
(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
==================


"andy_forbes" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
I think H tags go up to H5 in DW don't they? Also you can apply classes to
the tages such as <p class="bluefont"></p
then have a style sheet:
.bluefont { styles }

Andy



Reply With Quote
  #4  
Old   
andy_forbes
 
Posts: n/a

Default Re: CSS and text formats - 06-01-2006 , 11:19 AM



Murray
Yes very true descendant selectors are probably better, although if he has as
many styles as I assumed he had (if he has run out of H# tags) then it would be
a quick way for him to gain styles.
Why does adding classes 'bloat' the CSS as then this class can be added
multiple times to different fonts in different div's or tables etc.
Andy


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.