Chapter 10: Getting Creative with Colors and Fonts PDF Print E-mail
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:

  • Better control when updating or editing formatting information.
  • No more HTML documents cluttered with <font> tags.
  • More options for formatting text, such as defining line height, font weight, and text alignment, and converting text to uppercase (capital letters) or lowercase characters.

 

Page 159: HTMLhelp reference on browser colors
http://www.htmlhelp.com/reference/html40/values.html#color

Page 160: Hexadecimal color chart
http://www.colorschemer.com/online.html

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) 



Share this page!
Reddit! Del.icio.us! JoomlaVote! Google! Live! Facebook! StumbleUpon! Yahoo! Free social bookmarking plugins and extensions for Joomla! websites!
Last Updated on Monday, 30 June 2008 11:39
 
Chapter Resources
Chapter 1
Chapter 2
Chapter 3
Chapter 4
Chapter 5
Chapter 6
Chapter 7
Chapter 8
Chapter 9
Chapter 10
Chapter 11
Chapter 12
Chapter 13
Chapter 14
Chapter 15
Chapter 16
Chapter 17
Chapter 18
Chapter 19
Chapter 20
Chapter 21
Chapter 22
Chapter 23
Feedback - send us a message
Featured Links:
Banner
Visit co-author
Ed Tittel's web site!
Visit co-author
Jeff Noble's web site!
Conquest Media
Web page layout and
hosting provided by
SheTech and Company. the power of the web. http://www.shetech.com