Site not using the .css file |
Site not using the .css file |
Maulwurf |
May 29 2008, 05:05 AM
Post
#1
|
Group: Members Posts: 2 Joined: 29-May 08 Member No.: 5,777 |
I am trying to convert an older site (www.theAWA.org) to use CSS. I have created a stylesheet that is held in the same directory as the html and included the link in all the html files. I have deleted the old formatting from the Body tags etc. But, for some reason unknown to me, the whole site does not use the stylesheets.
I have tried on my PC and others. Personally I use Firefox, but also have MS Internet Explorer installed to try it on. Both work the same. The test site (the one not working) can befound at www.theAWA.org/site9/index.html This is my first attempts with CSS. Any pointers will be appreciated. EDIT: the title and navigation bar should both have a blue background. The main part should have a piicture inthe background and all the text colours are wrong. This is how I know the stylesheet is not working. This post has been edited by Maulwurf: May 29 2008, 05:17 AM |
pandy |
May 29 2008, 06:58 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Hi!
The style sheet is where you tell us, but you tell the browser something else. HTML <LINK href="style/theawa.css" type="text/css"> http://www.theawa.org/site9/style/theawa.css doesn't exist. http://www.theawa.org/site9/theawa.css does. |
Maulwurf |
May 29 2008, 08:32 AM
Post
#3
|
Group: Members Posts: 2 Joined: 29-May 08 Member No.: 5,777 |
Hi! The style sheet is where you tell us, but you tell the browser something else. HTML <LINK href="style/theawa.css" type="text/css"> http://www.theawa.org/site9/style/theawa.css doesn't exist. http://www.theawa.org/site9/theawa.css does. Am I really so stupid? I thought the "style/" was something that had to be there. I didn't realise it was the directory. Thank you. It is...sort of...working now. Just have to work on the CSS content. Amazing how such a silly oversight can take so long to see (over a week now) and someone else (who knows what they are talking about) sees in a few minutes. Thank you. |
pandy |
May 29 2008, 08:58 AM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
|
Lo-Fi Version | Time is now: 24th April 2024 - 04:57 PM |