SitePoint Sponsor

User Tag List

Results 1 to 9 of 9
  1. #1
    SitePoint Member
    Join Date
    Sep 2004
    Location
    cambridge, ma
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    W3 Validation nonsense

    Last night, I made a stripped down 3-column template and now Iím trying to get it to be validated with W3 so I can continue production step-by-step. However, it's finding two really strange errors that I can't figure out for the life of me. Can someone tell me how to fix these errors? Here is the url for the validator:

    http://validator.w3.org/check?uri=ht...c%2Fnjo%2Ftest

    and the two files:

    http://www.njo.cc/njo/test/index.html
    http://www.njo.cc/njo/test/test.css

    Thanks in advance.
    Nik

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Your server must be really messed up, because I can't see either of those pages in Mozilla and the validator is throwing a hissyfit. Talk to whoever is hosting your site and tell them to start serving .html files as text/html and .css files as text/css.

  3. #3
    SitePoint Member
    Join Date
    Sep 2004
    Location
    cambridge, ma
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm hosting it myself on my home machine with apache. I'm not sure how to make those changes..

    Quote Originally Posted by vgarcia
    Your server must be really messed up, because I can't see either of those pages in Mozilla and the validator is throwing a hissyfit. Talk to whoever is hosting your site and tell them to start serving .html files as text/html and .css files as text/css.

  4. #4
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Add the MIME types to Apache by following this tutorial.

  5. #5
    SitePoint Member
    Join Date
    Sep 2004
    Location
    cambridge, ma
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My mime.types file already has these lines in it:

    text/css css
    text/directory
    text/enriched
    text/html html htm

    What else could be causing the problem?

    Quote Originally Posted by vgarcia
    Add the MIME types to Apache by following this tutorial.

  6. #6
    SitePoint Enthusiast
    Join Date
    May 2004
    Location
    Vancouver, BC
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you close the link tag the wrong way (dont use / at the end, its not supposed to be there in HTML). Remember, you use HTML doctype not XHTML anyways it validates as xhtml, so just change the link tag and there you go

  7. #7
    SitePoint Member
    Join Date
    Sep 2004
    Location
    cambridge, ma
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're right! Thanks so much.

  8. #8
    SitePoint Enthusiast
    Join Date
    May 2004
    Location
    Vancouver, BC
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    no problem, always willing to help btw keep in mind that validation is not the most important part...

  9. #9
    SitePoint Member
    Join Date
    Sep 2004
    Location
    cambridge, ma
    Posts
    9
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    True. I just posted another question, maybe you can help with that one too!

    http://www.sitepoint.com/forums/show...58#post1415658

    Quote Originally Posted by Xerxos
    no problem, always willing to help btw keep in mind that validation is not the most important part...


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
  •