Week 8A / BOX MODEL
See 2 jpgs of the AI files we worked on in class.
HOMEWORK:
WIREFRAME 3 WEBSITES.
DRAW IN AI
NAME ALL DIVS
DEFINE ID’s or CLASS’
MUST BE PRINTED!!!
Notes:
CSS?
Cascading Style Sheets
Rules + Styles to define HTML Elements
Selectors:
ID:
Only used once per HTML Document. Preceded by #
#header {property: “value”;}
NEVER USE SPACES IN WRITING SELECTORS.
CLASS:
Many times per document. Preceded by .
.thumbnail {width: “300px”; height: “100px”;}
how to apply the class or id
must be applied as an attribute to an html element.
<div> </div>
TAG:
p {font-family: “arial”;}
h4 {color: “blue”; font-family: “georgia”; }
strong {color:”red”}