Free Web Hosting by Netfirms
Web Hosting by Netfirms | Free Domain Names by Netfirms

ccs_week1

Homework Assignments

1. Create your own rules for the BODY, H1, A and P selectors and save them in your mystyle.css style sheet. Link this style sheet to your HTML files (template.1html and template2.html).


Home work for week1 No. 1 as follows::
template1.html
and
template2.html
The file mystyle.css contains style rules for displaying page elements:
H1 {font-family: times new roman, times, serif; text-align: left; color: #009999;}
li {text-transform: uppercase; text-align: left;}
A {font-size: large; color: #ff6633;}
P {font-size: small; color: #ff6633;}
Table {text-transform: uppercase;font-size: medium; color: #ff6633;}
body {background: #c0c0ff url(cowboy1.gif) repeat-y fixed left left ;}
2. Create a background image or use this one and add it to an HTML document using an external style sheet — (create a new style sheet following the rules given for mystyle.css.) Use background-repeat and background-image to position your image on the page.

Home work for week1 No. 2 as follows:
background-repeat worked using "imagetopleftstyle.css"
The file imagetopleftstyle.css contains style rules for displaying page elements:
body
{
background-color: #FFCC99;
background-image: url(cowboy1.gif);
background-repeat: no-repeat;
background-position: 0% 0%
}
In response to the first part of the assignment: I used Body, H1, A and P selectors in mystyle.css. for both templates. In addition, I added to mystyle.css background-repeat, repeating image on left border for both templates. For responding to part of No. 2 assignment

In response to the second part of the assignment, I used imagetopleftstyle.css, for control of style within css_week1.htm. Background-image is positioned at upper left hand corner. Also added background color.
(I finally was able to get this style sheet right when I located css_background)
Posted style sheets on the classroom bulletin board as Homework - Week One. After uploading style sheets and linked HTML documents to netfirms.com hosting site

Uploaded mystyle.css, template1.html, template2.html, imagetopleftstyle.css, and cowboy1.gif. and revised both stylesheets 12:35 AM 10/16/2002

cowboy Cowboy image
home site for vu



This page updated