Prepared by: Anthony Larrain
These notes serve as an outline to the lecture, they are not intended to be complete. Attend class to get more details.
Examples
A selector can contain multiple declarations
letter-spacing Controls the space between letters.word-spacing Controls the space between words.line-height Determines the height of a line.text-indent Indents the first line of a paragraphtext-align Aligns the text.text-decoration Decorates or un decorates text.Typically, text should not be underlined unless its a hyperlink.
This removes the underline from the hyperlink.
After reading this section you should avoid using the HTML font tag. Use a style.
font-family Specifies the font.If the font name has more than one word separated by a space you need to enclose the font name in quotes.
Can specify more than one font, notice the comma ','.
Check this site out for more information about fonts
font-size: Controls the size.Liquid designs suggest using relative measurements for sizes pertaining to text.
font-style Specifies the style of the font.font-weight Specifies the amount of bold.color Specifies the colorIn today's lab we add some styles to a document prepared by Virginia Debolt. Virginia is the author of the book Integrated HTML and CSS. The document provides some nice tips for beginning designers. Virginia's site
Notice in each document the HTML remains the same.