CPSCI 105: Explorations in Computer Science
Lab 7
February 13, 2007
Today's Class
We're going to discuss a bunch of stuff today: we'll be reviewing
work that you've already done on your website and we'll be talking
about some XHTML topics in more depth. So it would be a good idea
to take good notes.
Do the next section of the lab assignment as soon as you arrive in
class today.
Your First Stylesheet
-
Open your warp homepage
in a new browser window. Leave it sitting there.
-
Log in to your account on warp
and make public_html your working directory.
-
Create a directory named style in the working directory.
Then copy the file mystyle.css from the directory
/home/public/web-authoring/ to this new directory:
cp /home/public/web-authoring/mystyle.css style/
-
Now we need to make this file available to the web server.
(You should already know exactly what to do to make this happen.
This is the last time I'll tell you.)
First,
change the permissions of the style directory so that it can
be accessed by the web server:
chmod a+x style
Then make all the files in that directory readable over the web:
chmod a+r style/*
-
Go to the browser window that's open to your homepage.
Refresh it.
Do you notice any difference?
Take the links from your homepage to your other pages and look them over.
Now sit up and look attentive so that I'll know you've finished the lab assignment.
Homework 5a
Look over your website and make sure that you did
Homework 5
correctly. Make sure that all your pages validate
and that your stylesheet is controlling the presentation
on those pages.
This asssignment is due at the beginning of
class on Thursday, February 15.
[ Return to the CPSCI 105-01 homepage ]
Brian J. Rosmaita <contact me>
This page was last modified Monday, 12 February 2007 at 17:06 UTC.