View Full Version : Template does not work online, gives me a CSS error on line 8

05-29-2009, 02:57 AM
:confused: My question concerns my website, ppadance.com. I used a template called horsepower that I got online. I have loaded it, and oddly, shows up on my computer, (minus the header photo.. don't know what I've done wrong with that), but it shows up... on my computer... including when I test it in other browsers from Dreamweaver. However, it does not show up on anyone else's computer... nor mine when I exit out of Dreamweaver and load up another browser. Much of the info shows up but the template does not.

I checked the site with W3C CSS validator, and it tells me that line 8 is in error.

It says: 8File not found: import file:/C|/Documents and Settings/Debby/Desktop/styles.css: Operation not permitted

Sigh.. I am so tired! I just don't know where to go now. I think the problem may be a styles file. *well, and something else for my header photo... sheesh! Maybe... HELP!

05-29-2009, 03:19 AM
theres your problem
file:/C|/Documents and Settings/Debby/Desktop/styles.css: it is trying to look on your c drive.
change this to the correct path to the style sheet, probably "styles.css"
check your other linls like this
sounds like you have not defined your site properly

05-29-2009, 03:52 AM
thank you. I will try this... I thought I defined it correctly. I am just so lost right now.

I do appreciate your help.

05-29-2009, 04:12 AM
no prob, it becomes easier dont worry

05-29-2009, 04:39 AM
Okay... my husband has changed it to reflet the proper path, to his thinking... and the template disappeared even within Dreamweaver. So, I have a couple of questions. He wonders about the colon not being in the path... and also are the slashes the proper direction? He feels that the slashes are wrong and that the colon should be there instead of that line.

Also, you said it was probably "styles.css" and I don't really understand what you are saying. I changed the path to where the styles file is... and that didn't work. Is there anything else that is blatantly obvious to someone that knows what they are doing... but not to us?

Thank you for your help.

05-29-2009, 04:49 AM
okay a link to a file for example an image will be <img src="myimage.gif">
that would be to image (myimage.gif) in the same folder as the page that is linking to it
on your home page you have an image link to
<img src="file:///C:/Documents and Settings/Debby/Desktop/images/feature.png" width="880" height="230" />your link should be either
<img src="images/feature.png" width="880" height="230" />
or it could also be
<img src="http://ppadance.com/images/feature.png" width="880" height="230" />

05-29-2009, 05:03 AM
Are you saying that the link needs to point to where the file is on the web server versus where the file is on my computer?

05-29-2009, 05:19 AM
yes the one " htpp;://...." is an absolute link to the file the other is relative to tth file (web page) that works also in a folder relatively

05-29-2009, 05:42 AM
IT WORKS!!!!! Thanks so much for your help.