Forum Moderators: not2easy

Message Too Old, No Replies

Not reading stylesheet

         

malcolmcroucher

8:40 am on Oct 27, 2007 (gmt 0)

10+ Year Member



Hi :

I am using this :
<ink rel = "stylesheet" href="mystyle.css">

Css name : mystyle.css
it is in the same folder as the html page

i have tried using directories such as
c:\test\mystyle.css

I have tried the other way as well but i am just not reading the style sheet .

Any suggestions?

Little_G

10:30 am on Oct 27, 2007 (gmt 0)

10+ Year Member



Hi,

try:
<link rel = "stylesheet" href="mystyle.css">

Andrew

malcolmcroucher

11:01 am on Oct 27, 2007 (gmt 0)

10+ Year Member



sorry should link

tried that still does not work .

Any ideas?

Little_G

11:30 am on Oct 27, 2007 (gmt 0)

10+ Year Member



Hi,

Have got the css file in the same directory as the html file calling it?

Andrew

malcolmcroucher

1:06 pm on Oct 27, 2007 (gmt 0)

10+ Year Member



yes ... but i will continue looking for the answer

scriptmasterdel

1:09 pm on Oct 27, 2007 (gmt 0)

10+ Year Member



Have you tried?

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

jbinbpt

1:28 pm on Oct 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you put the css in style tag on the page does it work?

Seachmall

1:40 pm on Oct 27, 2007 (gmt 0)

10+ Year Member



Change the body background color in the CSS and see if it changes in the HTML.

Sometimes when I'm makeing up a new external stylesheet it doesn't appear to be linking. I change the background color and it changes in the HTML. I then realise Im missing a } or ;.

It happens 60% of the time when I start a new stylesheet.

malcolmcroucher

1:41 pm on Oct 27, 2007 (gmt 0)

10+ Year Member



works perfectly when I remove the css page and place it it the html page .

When i put the "text/css" it made some changes but not working as well when i subsitituted the Css page.

I will continue looking on the net and trying new ideas.

Thanks so far

jbinbpt

1:53 pm on Oct 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The original post says
c:\test\mystyle.css

Are you doing this locally or on a host?
Have you tried importing [htmlhelp.com]

malcolmcroucher

3:57 pm on Oct 27, 2007 (gmt 0)

10+ Year Member



Thank you i have sorted my problem out!
Thanks a million!

penders

4:41 pm on Oct 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank you i have sorted my problem out!

What was the solution? In case anyone who has a similar problem is reading this thread. :)