|
|
|
2002.10.23 22:17 B C:\My Documents\!VUNIV\avu101402\Intro_to_CSS\css_week_2\template1a.htm --> samtex.netfirms.com /www template1a.htmHomework Assignment Week 2
Go to your HTML documents that you created for class last week — template1.html and template2.html.1. Use an embedded style sheet to override an external rule, and to add some borders, margins, and padding to a Web page. Add an image and put a border around it.
done 11:24 AM 10/23/2002
2. Use an embedded style sheet to add a list to your document. Add an image bullet. Nest a second list and use contextual selectors to add a style of your choice. Show both list-style-positions.Cut and paste your style rules on the class bulletin board or post the URL where your work can be viewed. On the "Subject" field of your message, specify Homework - Week 2 for easy recognition.
Done 10:13 PM 10/23/2002
Points to Remember
Use length measurements to create static borders. Use percentages to create borders that resize with the browser window. Padding is added inside the element. Margin is added outside the element. Border style, color, and width can vary from one side of an element to another. An element can float to the left or right of the page body. Clear can control where text appears in relation to an image. Homework Assignment Week 3For this week's homework, complete the following tasks:Cut and paste your style rules on the class bulletin board or post the URL where your work can be viewed. On the "Subject" field of your message, specify Homework - Week 3 for easy recognition.
- Use your text editor to create a class rule in mystyle.css. Apply the class in template2.html.
- Create a class rule in the embedded style of your HTML document. Use SPAN and DIV inline to apply the new class.
- Create an inline style rule that overrides an existing rule.
- Demonstrate your understanding of FLOAT and CLEAR by using them on your HTML document.
- Use the MARGIN family of properties to make one element overlap another.
- Make a border whose size remains static and another that changes when the browser window is resized.
Contents of mystyle.css above. "Make a border whose size remains static and another that changes when the browser window is resized."
The span style for the referenced paragraph background is yellow for emphasis C:\My Documents\!VUNIV\avu101402\Intro_to_CSS\css_week_3\template2c.html
http://samtex.netfirms.com/template2c.html
http://samtex.netfirms.com/mystyle.css
http://samtex.netfirms.com/birthday.gif
\toc: http://samtex.netfirms.com/toc.htm v Homework - Week 3
uploaded 10:46 PM 10/28/2002
css.nu referenced http://samtex.netfirms.com/template2c.html is my prelim effort at week 3 homework Thanks to Glo, pointing out lesson exercise, I was able to “Make a border whose size remains static and another that changes when the browser window is resized." So, I resubmitted updated homework for week 3. Thanks for feedback. http://samtex.netfirms.com/mystyle.css is style sheet in this exercise
revised8:29 AM 10/29/2002
template2c
revised7:02 AM 11/1/2002
Thanks
[Go to Top of Page] CSS_week4
Homework Assignment1. Demonstrate your understanding of pseudo-selectors by using :first-line, :first-letter and the three anchor <A> states in your HTML document. Add the :hover state to some of your hyperlinks. 2. Demonstrate your understanding of the lesson by using line-height, letter-spacing, word-spacing and vertical-align in your HTML document. Try working with margins and padding to make text-indent produce a hanging indent. Cut and paste your style rules on the class bulletin board or post the URL where your work can be viewed. On the "Subject" field of your message, specify Homework - Week 4 for easy recognition.
8:38 PM 11/4/2002 uploaded [css_week4 done]
[Go to Top of Page] CSS_week5
Homework Assignment1. Use relative and absolute positioning to place two elements on your HTML page.
2. Use z-index to stack some images of your own or take these circles.
![]()
3. Add an overflow element to one of your HTML pages.
Well, that wraps it up! I hope you've enjoyed this introductory course on Cascading Style Sheets and that it will help you "make a splash" in designing eye-catching HTML documents. Thanks for joining us, and good luck! Gloria Kraemer
Instructor
Uploaded Week 5 homework 10:54 PM 11/11/2002 [css_week5.htm]
[Go to Top of Page] [table of contents]