+ Reply to Thread
Results 1 to 3 of 3

Thread: Validator Problems

  1. #1
    niallainsworth is offline x10Hosting Member niallainsworth is an unknown quantity at this point
    Join Date
    Aug 2009
    Posts
    4

    Unhappy Validator Problems

    I'm trying to validate my website with the w3 validator but it keeps showing these errors:
    WIDTH, did you mean "width"
    ALIGN, did you mean"align" and
    BGCOLOR, did you mean "bgcolor".

    But i don't have any capital words in my html, whats the problem?

    site @ http://pineappleapple.exofire.net
    Last edited by niallainsworth; 12-15-2009 at 01:58 PM.

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,636

    Re: Validator Problems

    Got a url we could look at?

  3. #3
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Validator Problems

    This is your real validation:

    http://validator.w3.org/check?verbos...exofire.net%2F

    7 errors. Usually when it says something isn't a valid attribute, it means it doesn't exist in the Doctype Declaration you've made (in your case HTML 4.01 strict.

    Secondly, you're using tables, which from a design standpoint is acceptable - but there are much more efficient and cleaner ways to do layouts without using tables. In the new age, like the next two years, tables will become useless for layouts, as css3 and HTML5 comes out. Tables should be used for tabular data, and nothing else.

    Also, html 4.01 is an okay doctype to use, but again, the standard for most designs is XHTML 1.1 Strict

    You'll have to change your site a lot to comply with this doctype.

    http://validator.w3.org/check?uri=ht...idator%2F1.654 (93 errors, lots of warnings) etc.

    As for the invalid attributes, using the html 4.01 transitional doctype clears up all but one error, which might be fixed by moving

    Code:
    align="center"
    to the end, or by defining the class to have the margin property

    Code:
    margin: 0 auto;
    which usually centers elements.
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers