SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 591 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


Adding font color
Unless you assign a color to text on your Web page, the browser uses its own default, typically black. To
change the font color for the entire page, choose Modify ??? Page Properties and select a new color from the
Text Color swatch. If your Preferences are set to use CSS, the style is written into an internal style sheet for
body, td, and th selectors; otherwise, the color attribute is added to the tag.
You can also apply color to individual headings, words, or paragraphs that you have selected in
Dreamweaver. As with text size, when working with CSS the best way to set a color for a selected tag or text
range is to apply an existing style that includes the desired color. Font color is defined through the Type category
of the CSS Rule Definition dialog or the color attribute of the Tag inspector??™s Relevant CSS category.
Whether working in CSS or tags, text color is expressed in either a hexadecimal color number or a
color name. The hexadecimal color number is based on the color??™s red-green-blue value and is written like this:
#FFFFFF
The preceding represents the color white. You can also use standard color names instead of the hexadecimal
color numbers. A sample color code line follows:
I??™m GREEN with envy.


Pages:
579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603