PDA

View Full Version : PWS and files not found


ScottInTexas
04-18-2003, 03:44 PM
I have my PWS set up and I am able to open my web page using //localhost/homepage.asp. The problem is that my style sheet link and my images (which are located in a sub directory under my virtual directory) are not connecting.

This is bound to be some setup thing or my syntax is so wrong that it can't work right.



<link rel="stylesheet" href="./styles.css" type="text/css" />

<td align="center" class="thetitle"><img src="images/Title.jpg" ></td>



These are the two lines that should give me some results but don't.

Thanks.

Roy Sinclair
04-18-2003, 05:14 PM
If the stylesheet is in a directory under the root you need to add the directory to the <link> element because href="./styles.css" says that you're looking for the stylesheet in the current directory.

You image links look ok as long as the images are in the "images" directory.