View Full Version : failed attempt to link to external stylesheet
mayde
08-09-2006, 02:21 AM
My attempts to link an shtml page to an external stylesheet don't seem to be working. Or rather, my one attempt worked, but the page I need to work, doesn't.
Any idea why http://www.hunter.cuny.edu/honorscollege/redesign/css_linked_index.shtml (linked to indexstyle.css) works, yet template.shtml (at the same location, linked to style.css) doesn't? I can't find any difference in the two files' coding and template.shtml is the one that I need to work with.
Any and all help is greatly appreciated!! Thanks in advance!
I think it's most likely due to the fact that you've used an XHTML-style self-closing tag for the META tag above it, but you're using an HTML DOCTYPE. Fix that, and if it still doesn't work, the standard response is to validate your page (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hunter.cuny.edu%2Fhonorscollege%2Fredesign%2Ftemplate.shtml&charset=%28detect+automatically%29&doctype=Inline&ss=1).
mayde
08-10-2006, 12:07 AM
Thanks so much for your reply, but neither fix seemed to work. I guess I'll just keep trying to play around with it and see if I can't do something that'll fix whatever mistake I made on the template page.
GypsyOwl
09-13-2006, 09:36 AM
Twey,
I am a newbie.
That is a great page validator!
I am embarrased to admit that I had 90 errors and a total of 139 entries on my validation report for a page that I am working on. It is going to save so much time having a list to work out the coding ommisions.
Thanks!
GypsyOwl
That is a great page validator!It's the official page validator :)
It is going to save so much time having a list to work out the coding ommisions.Remember that validation is only a step, though. Just because your page validates, don't be fooled into thinking it's perfect.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.