Thanks Greg,
I have no clue why, but I changed to your way, and it runs fine. Only the
browser Gods know why this kind of wierdness occurs.


Scott

-----Original Message-----
From: Greg Chakmakian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 9:36 AM
To: [EMAIL PROTECTED]
Subject: RE: CSS Help


This is the way I've always done it. . .

<LINK href="style.css" rel=stylesheet type=text/css>


. . And I put it in between my head tags like you did.  Hope this helps.

-greg




-----Original Message-----
From: Purcell, Scott [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 10:18 AM
To: '[EMAIL PROTECTED]'
Subject: CSS Help


Hello,
I am starting to test out the Tomcat Server, and I am doing an example that
is in the Core Servlets and JSP book. Anyway, they have an example of using
some CSS in a resume posting example. 

I am entering the HTML into the following folder under Tomcat:
D:\tomcat\jakarta-tomcat-3.2.2b2\webapps\ROOT\test.html

So I decided to put my CCS page here also
D:\tomcat\jakarta-tomcat-3.2.2b2\webapps\ROOT\test.css

The beginning of my HTML has the following:
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional/EN">
<HTML>
<HEAD>
   <TITLE>Free Resume Posting</TITLE>
   <LINK REL=STYLESHEET HREF="test.css" TYPE="text/css">
</HEAD>
<BODY>


I have tried about everything, but I cannot pick up the CSS file? I have
restarted the tomcat, and cleared browser cache, quit the browser. Here is
the message from the Tomcat Console.

2001-04-18 09:16:29 - Ctx( /jobs-site-styles.css ): 404 R(
/jobs-site-styles.css
 +  + null) null
2001-04-18 09:16:30 - Ctx( /jobs-site-styles.css ): FileHandler: Ends with
\/. D
:\tomcat\jakarta-tomcat-3.2.2b2\webapps\jobs-site-styles.css\
2001-04-18 09:16:30 - Ctx( /jobs-site-styles.css ): 404 R(
/jobs-site-styles.css
 +  + null) null
2001-04-18 09:16:30 - Ctx( /jobs-site-styles.css ): FileHandler: Ends with
\/. D
:\tomcat\jakarta-tomcat-3.2.2b2\webapps\jobs-site-styles.css\
2001-04-18 09:16:30 - Ctx( /jobs-site-styles.css ): 404 R(
/jobs-site-styles.css
 +  + null) null

I see a slash before jobs but it is not in my HTML? This is my first CSS
mission, does anyone see any issues here?

Thanks
Scott Purcell

Reply via email to