Page 1 of 1

Skin and style problem!

PostPosted: 12. October 2006 18:59
by Squee
Hello i have a problem with skins and style at my homepage....i have an html that is made with skin and style but when i try to view it on the web it doesnt have skin or style...
And yes i tried editing httpd with Win32DisableAcceptEx and restarting the apache server.
thanks in advence.
Squee.

PostPosted: 12. October 2006 19:05
by Sean-Michael
I might be able to help but is there a link to check the html? Unless your sure it is correct.

PostPosted: 12. October 2006 19:20
by Squee
The html is correct...
http://fatallist.servegame.com/ is the website if you want to see whats the issue with your own eyes.

PostPosted: 12. October 2006 19:28
by Sean-Michael
Well, one thing I notice is that the linked style sheet reads like so...

"<link rel="stylesheet" href="../../../Documents and Settings/Squee/Desktop/Grassy/style.css" type="text/css" />"

Mine looks like this...

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

Unless your web content folder is your entire hard drive this could be a problem... some times programs like Nvu uses links like this instead of relative links like mine, I use cssed for my style sheets and notepad++ for xhtml php editing.

Maybe I'm way off but I got this info from your "DesiKal.html" page.

PostPosted: 12. October 2006 19:33
by Sean-Michael
With a lil more looking I think your link should look like this...

<link rel="stylesheet" href="style.css" type="text/css" /> :D

PostPosted: 12. October 2006 19:33
by Wiedmann
http://fatallist.servegame.com/ is the website

Sorry, but there is no "website". Only a directory listing (mod_autoindex) which list the files in that directory.

Well, one thing I notice is that the linked style sheet reads like so...

"<link rel="stylesheet" href="../../../Documents and Settings/Squee/Desktop/Grassy/style.css" type="text/css" />"

That's wrong. Please read a HTML documentation about (relative) links.
--> you must use URIs in your links, which are accessible via a webserver, an not (realtive) filesystem paths.

PostPosted: 12. October 2006 19:39
by Sean-Michael
Yes, after reading Wiedmanns post you would want your home page to be titled something like...

index.html
or
index.php

and name the page title what you want like "DesiKal" or "Home" a good place to learn html or php or even css is w3schools...

http://www.w3schools.com/default.asp

PostPosted: 12. October 2006 19:40
by Squee
Fixed it :D