Maulwurf
May 29 2008, 05:05 AM
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.
pandy
May 29 2008, 06:58 AM
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
QUOTE(pandy @ May 29 2008, 01:58 PM)

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
QUOTE(Maulwurf @ May 29 2008, 03:32 PM)

Am I really so stupid?
Yes!
Don't worry. When you work with something new to you, it's easy to get "blind". You'll get over it.