| Chapter 10: Getting Creative with Colors and Fonts |
|
|
|
| Sections - Part III: Taking Precise Control Over Web Pages | |||
|
Before style sheets came along, you had to rely on HTML markup to control backgrounds, colors, fonts, and text sizes on Web pages. With style sheets on the scene, however, designers could now separate style information from content -- meaning they could use Cascading Style Sheets (CSS) to control font, color, and other style information. Why bother? Simple. When you use CSS, you get the following:
Page 159: HTMLhelp reference on browser colors http://www.htmlhelp.com/reference/html40/values.html#color Page 160: Hexadecimal color chart Page 160: Webmonkey color chart has moved from http://www.webmonkey.com/reference/color_codes to http://www.webmonkey.com/reference/Color_Charts Page 165, Figure 10-1: Font family (display view) (code view) Page 166, Figure 10-2: Font size (display view) (code view) Page 167, Figure 10-3: Quotation class (display view) (code view) Page 168, Figure 10-4: Kerning fonts (display view) (code view) Page 170, Figure 10-5: Positioning (display view) (code view) Page 171, Figure 10-6: Text treatments (display view) (code view) Page 173, Figure 10-7: Capitalization (display view) (code view)
.ZIP file of all code samples from this chapter (16kb)
|
|||
| Last Updated on Monday, 30 June 2008 11:39 |