You are on page 1of 1

BIM222- Internet Programming - Homework 2

1) You will create a CSS file namely hw2.css and use it in the sites you created in the first homework. If you havent done the first homework, it is necessary to do it now! The requirements of the CSS file are described below. The statements in the parenthesis show the locations that the rules will be applied. body element:
(index.htm, courses.htm, myhometown.htm, usefullinks.htm, contactme.htm)

position is relative, font-family is Helvetica, Arial, sans-serif, font-size is 16px, width is 800px, margin is 0 auto, padding is 10px

main-menu class:

(Top menu

Home Courses )

font-size is 13px, color is gray, position is relative, top is 20px, right is 10px

useful-links class:

(usefullinks.htm)

color is gray, text-decoration is none

h5 element:

(usefullinks.htm)

font-size is 20px, font-weight is bold, margin-bottom is 20px

contact-info class: color is red

(contactme.htm)

a tr element is followed by td element: font-size is 18px, font-weight is bold

(all html tables in the website)

You might also like