CHAPTER 9 - Styling with fonts and colors
WEDNESDAY - 10/2/13
Using your css file, you will now "jazz" up your html page using color, size, and text-decoration.
Using your css file, you will now "jazz" up your html page using color, size, and text-decoration.
Customizing font with font-family property:body{
font-family: Verdana, Geneva, Arial, sans-serif; } ** What this does is checks your browser to see if the font is available, checking Left to Right in your list. font-families: Andale Mono Courier New Trebuchet MS Arial Georgia Verdana Arial Black Impact Cartoon Comic Sans Times New Roman Crush |
Control the size of fonts in body using font-size:** Size pixel size
body{ font-size: 14px; } OR ** Size in % relative to another font size body{ font-size: 150%; } OR ** Size is designated by keywords body{ font-size: small; } xx-small, x-small, small, medium, large, x-large or xx-large EXAMPLE: body{ font-size: 150%; } h1{ font-size: 21px; } WORKS like: body is 14px-> h1 is 21px |
Changing font-weight:body{
font-weight: bold; } Can also use: normal, bolder, lighter |
Changing your text with
|
WEDNESDAY ASSIGNMENT - DUE BY END OF HOUR - Turn in using EDMODO and compressing folder
ASSIGNMENT - REVIEW
Your website must have at least the following:
|
|