COIN 65 Logo
This page contains the materials needed for Internet Technologies - COIN 65 taught by Sandi Watkins.
View the forum for updates and announcements. View my blog for the same!
Sandi's Blog | Schedule | ETUDES | Forum | Class Sites | Syllabus | Resources | CTIS | Foothill

Using CSS for Design Lab 2
Basic CSS Practice

[ This lab is for practice. It will not be graded. ]

Lab Guidelines

Specifics

This lab will give you practice in some of the most common CSS syntax and style properties. We will practice additional style properties as the weeks go on. Follow these specifics to create Lab 2.

Each row in the table below is a different lab file/experiment. Each file/row will have different a different look to it based upon the embedded styles dictated in each row of the table.

Properties Tag(s) Specifics
Background Properties
background color
body
h1
ul
yellow
red
green
color and background color body
h1
ul
span within P
bg yellow text black
text red bg white
bg green text yellow
bg blue text purple
background image body
p
table
For body, use a textured image
For P, use a different textured image
For a table, download and use this image
grapes
Margin Properties
margins general
(set document background color to white)
p
p id="1"
p id="2"
p id="3"
p id="4"
no style
margin 10 pixels background color to FFCCFF
margin 20 pixels background color to FFCCFF
margin 1 em background color to FFCCFF
margin 6 em background color to FFCCFF
Margins specific
(set background color to white)
p
p id="1"
p id="2"
p id="3"
p id="4"
p id="5"
p id="6"
p id="7"
p id="8
p id="9"
p id="10"
no style
margin left 10 pixels background color to FFCCFF
margin left 20 pixels background color to FFCCFF
margin left 1 em background color to FFCCFF
margin left 6 em background color to FFCCFF
margin left margin right 10 pixels background color to FFCCFF
margin left margin right 20 pixels background color to FFCCFF
margin left margin right 1 em background color to FFCCFF
margin left margin right 6 em background color to FFCCFF
margin left margin top 6 em background color to blue
margin left margin top -3px background color to blue
Text Properties
color
body
h1
p
unstyled text
green
orange
blue
??????
text align, text decoration, word, letter and line spacing body
h1
p
p id="1"
p id="2"
p id="3"
p id="4"
p id="5"
p id="6"
p id="7"
p id="8"
p id="9"
centered
leave unstyled
right
left and indent ONLY the first line 1/2 inch
transform to upper case
underline
strike-through
create a link with no underlining
space the letters in this paragraph 1 em apart
space the letters in this paragraph .3 inches apart
space the words in this paragraph 10 pixels apart
space the lines in this paragraph 25 pixels apart
List Properties
list types, images and position
ul id="1"
ul id="2"
ul id="3"
ol id="4"
ol id="5"
ol id="6"
ol id="7"
ul id="8"
ul id="9"

ul id="10"
disc
circle
square
decimal markers
decimal-leading-zero markers...
upper-roman markers...
upper-latin (or alpha) markers...
download and use this image for the list marker small ball
The text in this list should line up with itself on the left side, leaving blank space beneath the bullet.
The text in this list should line up with the bullet on the left margin, leaving no blank space beneath the bullet.
Contextual selectors body
p
p within div
span within P
bg white text black
orange
brown
green
Top | Sandi's Blog | Schedule | ETUDES | Forum | Class Sites | Syllabus | Resources | CTIS | Foothill
This site is best viewed with a "modern" browser - Firefox, Netscape, Opera, Safari (not IE 6 or below)
For best results, install the following plug-ins: Adobe Acrobat Reader, Quicktime, and RealAudio.
Copyright © 2006-07 Sandi Watkins & Greg Mcilhiney
Internet Technologies Department / Computers, Technology & Information Systems Division
Last Update: Saturday, April 7, 2007 at 7:14 AM