The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Site not using the .css file
Maulwurf
post 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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post 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! smile.gif

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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Maulwurf
post May 29 2008, 08:32 AM
Post #3





Group: Members
Posts: 2
Joined: 29-May 08
Member No.: 5,777



QUOTE(pandy @ May 29 2008, 01:58 PM) *

Hi! smile.gif

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. smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post May 29 2008, 08:58 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



QUOTE(Maulwurf @ May 29 2008, 03:32 PM) *

Am I really so stupid?


Yes! laugh.gif

Don't worry. When you work with something new to you, it's easy to get "blind". You'll get over it. happy.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th April 2024 - 04:57 PM