CSS ids Pages Sites
HTML: class=“name” Names may define format OR content › Either works CAN apply multiple classes to the same tag Multiple ways to define › Style that applies to many elements › Style that applies to only one element › Style that only applies in certain contexts
Used to describe a style for a single, unique element Defined with a “#” › What does that remind you of? Most common use: page structure HTML: id=“name” CSS: [tag]#name [tag]
What should your page look like? Parts › Header Book title › Body Consistency › Footer Name, date, close page
Fixed width or window based Organization › Tables › Divs Key attribute is float
Organizing a site › What should be on a page › How to navigate Building navigation