Lecture 08 - Making It Styling
Lecture 08 - Making It Styling
Come to lecture Review the lecture notes Keep up with the assigned readings Use the forums Practice and start assignments early Use office hours
Jen
Jen's Blog
Selector (one or more) Declaration Block Declaration (one or more) Property Value (in quotes if multiple words)
In tag
Font Families
Sans-serif: Verdana, Arial, Geneva! Serif: Times, Georgia Monospace: Courier! Cursive: Comic Fantasy: Impact
Solution
Lets see!
styling links
a:link { color: #7A0039; } /* normal link */ a:visited { color: #7A5B6A; } /* visited link */ a:active { font-weight: bold; } /* link being followed */ a:hover { color: #511B34; } /* link while person has mouse over it */
a { text-decoration: none; } ?
Lets try it
Do not style away links! Do not over style link! Make sure there is some way for people to know where to click!
Specifying dimension
h1 { height: 17px; } h1 { width: 17em; } h1 { width: 1in; }
Specifying color
Colors are specified in "RGB" format
3 numbers: red, green, blue light Specified using hexadecimals
http://www.w3schools.com/css/css_colornames.asp