|
Why does my HOME page not see CSS? (But no problem with other pages.)
Errrr....I just solved the problem.
I had put a "notation" in the header that inadvertantly triggered some kind of "printing" format that I am not familiar with. Problem solved. Thank you, all.
Re: the "unpublished" prototype for my new website.
The HOME PAGE is here:
http://www.vitaminshelf.com/catalog/
"View Source" and you will see the CSS reference:
<LINK rel=stylesheet href="../screen-vs.css" type=text/css MEDIA=screen>
Here is a typical inner page:
http://vitaminshelf.com/a1/
"View Source" and the same CSS:
<LINK rel=stylesheet href="../screen-vs.css" type=text/css MEDIA=screen>
The Home page simply refuses to see the CSS, as proven by lack of the yellow background. (I don't like the yellow. I just did that to make it clear whether the CSS is working.) Both pages are .SHTML and inside a folder on the same level.
I tried changing the Home page to .HTM and the problem is the same.
I tried pasting the CSS internally into the <head> section. Still no reading of CSS. So, evidently the problem is not with the link reference. The Home page simply refuses to read the CSS.
I tried adding BGCOLOR to the <body> tag and that works, of course.
So why is the CSS not working? Any why only for the Home page?
Why? Why? Why? I give up...
P.S.-- I just read that CSS <div> and <span> have replaced the use of the <table> as "standard" for page layouts. Is this true? Why so? If so, maybe I have some learning to do...
Thank you kindly,
Krystof
Last edited by krystof; August 10 '05 at 10:34 AM.
|