problem with stylesheet location

From: Susan L. Hedgpeth <hedgpeth_at_berkeley.edu>
Date: Tue Sep 20 2005 - 12:18:51 PDT

dear webnetters,

here is a puzzle i have been trying to solve. maybe someone out there can
help.

when the .css file and the document are in the same folder, the page looks
fine. but if the .css file is in a different folder, the formatting of the
document is slightly off. i don't get it!

so, this works:
<link rel="stylesheet" href="generalTest.css" type="text/css" media="all" />

but this doesn't:
<link rel="stylesheet" href="/Styles/generalTest.css" type="text/css"
media="all" />

neither does this:
<link rel="stylesheet"
href="http://career.berkeley.edu/Styles/generalTest.css" type="text/css"
media="all" />

the file generalTest.css is exactly the same in both places.

same result with either IE or Firefox. same result on either of 2 web
servers.

this is for a new page i'm working on. haven't had this problem with our
current pages which all refer to a stylesheet in the /Styles folder. but
the new page has much more complicated formatting.

thanks for any clues....

-Susan

Susan Hedgpeth
Web Coordinator
Career Center, University of California, Berkeley
2111 Bancroft Way #4350, Berkeley, CA 94720-4350
phone: (510) 642-8093 - fax: (510) 643-6120
email: hedgpeth_at_berkeley.edu - website: http://career.berkeley.edu

Career Center
career counseling « internships « jobs « graduate school services « serving
freshmen through PhDs & alumni

-----------------------------------------------------------------------
The following was automatically added to this message by the list server:

Webnet information is available at http://webnet.berkeley.edu. Email sent to this list is archived at http://ls.berkeley.edu/mail/webnet/ . This archive is open to the general public and browsable by search engine spiders, email-address harvesting robots, your bosses, etc.
Received on Tue Sep 20 12:21:21 2005

This archive was generated by hypermail 2.1.8 : Tue Sep 20 2005 - 12:21:21 PDT