Thread: CSS won't load
View Single Post
Old May 25th, 2007, 9:31 PM   #14 (permalink)
Brandonnn
pineapples are sharp
Super #1
 
Brandonnn's Avatar
 
Joined in Dec 2005
5,777 posts
Gave thanks: 147
Thanked 151 times
tips:

If you don't want to use an absolute url...

1)And the Style Sheet is in the same directory as the Index file you only need to label as follows: href="filename.css" (why? because the index is already in that directory and calling a file is relative to that directory)

[or]

2)The Index file is in "public_html" and the StyleSheet is in a folder called styles you could label the href as follows: href="/styles/style.css" (why? b/c once again you have to think relative to the directory the index file is in... if it's in a different folder you need to specifiy the folder and the filename)
__________________
poof

Last edited by Brandonnn; May 25th, 2007 at 9:34 PM..
Brandonnn is offline   Reply With Quote