Art 301 TR – Week4b
CSS
inline > embedded > attached
<tag style=”property:value; property:value;”>
h1 {
property: value;
property: value;
}
Selectors:
ID # – once
CLASS . – multiple
TAG – predetermined HTML
<div class=”thumbnail”>
.thumbnail {
property:value;
property:value;
}
Box Model
<div>
border, margins, padding
HOMEWORK
HW #1
draw box model and write out <div> HTML structure.
(1 jpg and 1 html) x 2 to place in server folder
HW #2
Design file in photoshop.
1024 px wide to work x however tall
980px or less – important content
22px left and right to show
or design beyond 1024 if you have background, but keep site content within the 980px width
72 dpi. RGB.
submit 1 jpg