Results 1 to 5 of 5

Thread: failed attempt to link to external stylesheet

  1. #1
    Join Date
    Dec 2004
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default failed attempt to link to external stylesheet

    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/honorscol...ed_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!

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Dec 2004
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  4. #4
    Join Date
    Sep 2006
    Location
    Living My Dreams
    Posts
    16
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •