HTML and CSS Reference
Hand in printouts of mywildflower.css, spring.html source code (print in Notepad),
summer.html source code, the browser display of spring.html, and the browser dis-
play of summer.html to your instructor.
8. Configure Printing for Hands-On Practice 7.3. Configure special printing for the
threecolumn.html file created in Hands-On Practice 7.3. Use the threecolumn.html
file from Hands-On Practice 7.3 as a starting point. This file is in the Chapter7
folder in the student files. Save a copy of this file as threecolumnprint.html. Modify
the file so that it links to an external style sheet called threecolumn.css instead of
using embedded styles. Save and test your page. Create a new style sheet, called
myprint.css, which will prevent the navigation from displaying when the page is
printed. Modify the threecolumnprint.html page to link to this file. Review the use
of the media attribute on the link element. Save all files and test your page. Select
File, Print Preview to test the print styles. Hand in printouts of myprint.css,
threecolumn.css, threecolumnprint.html source code (print in Notepad), and the
browser display of threecolumprint.html to your instructor.
9. Modify the Design of Hands-On Practice 7.3. Locate the threecolumn.html page you
created in Hands-On Practice 7.3. This file is in the Chapter7 folder in the student
files. Recall from Chapter 5 that a Web page using jello design has content in the
center of the Web page with blank margins on either side. Configure the style rules
for threecolumn.html to display the page in this manner. Refer to Chapter 5 for
CSS style rule suggestions. Hand in printouts of the source code (print in Notepad)
and browser display for the Web page to your instructor.
10. Practice Validating CSS. Choose a CSS external style sheet file to validate—perhaps
you have created one for your own Web site. Otherwise, use an external style sheet
file that you worked with in this chapter. Use the W3C free CSS validator ( http://
jigsaw.w3.org/css-validator/). If your CSS does not immediately pass the validation
test, modify it and test again. Repeat this process until the W3C validates your CSS
code. Write a one or two paragraph summary about the validation process. Answer
the following questions. Was it easy to use? Did anything surprise you? Did you
encounter a number of errors or just a few? How easy was it to determine how to
correct the CSS file? Would you recommend this to other students? Why or why not?
You've been working a lot with navigation links in this chapter. There is one aspect that
we did not discuss—configuring background images in navigation links using CSS, some-
times referred to as CSS Sprites. There are numerous tutorials on the Web that present
this technique. Visit the following sites and choose a tutorial you find easy to read.