/    Sign up×
Community /Pin to ProfileBookmark

W3C validation

….after doing some work on my site ([url]www.irenezart.com[/url]) with TIDY I ran a W3C test and it came up with this:

This page is not Valid HTML 4.01 Transitional!

Below are the results of attempting to parse this document with an SGML parser.

  • 1.

    Error Line 31, column 0: there is no attribute “BORDERCOLOR” .

    “#CCFFFF” cellpadding=”0″>

    You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the “Strict” document type with a document that uses frames (e.g. you must use the “Transitional” document type to get the “target” attribute), or by using vendor proprietary extensions such as “marginheight” (this is usually fixed by using CSS to achieve the desired effect instead).

    This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

    How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

    &#9993;


  • 2.

    Error Line 82, column 53: there is no attribute “HEIGHT” .

    <table border=”0″ cellspacing=”0″ width=”80%” height=”290″

  • ….I have very little knowledge of HTML and would welcome anyone’s comments about exactly how I can fix the above problems (if they even need it). Perhaps someone can clearly demonstrate what I need to change in the code at my site.
    My O.S. is win xp, sp2, home ed. using Firefox and built the site with MS Frontpage.

    thanks,

    jim

    to post a comment
    HTML

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @ryanbutlerJun 29.2007 — #1 - I'm assuming this is a table. If so, just declare a border using CSS and remove bordercolor from the initial table declaration that is applied to the table.

    [CODE]CSS:

    table#mytable{
    border:1px solid #ccc;
    }[/CODE]


    [CODE]HTML:

    <table id="mytable" cellspacing="0">
    ...
    </table>[/CODE]


    #2 - Height as mentioned is invalid. Just remove it as the the table will automatically expand vertically to meet the height requirements of the contens inside.
    ×

    Success!

    Help @jimrich spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 6.17,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @nearjob,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,

    tipper: @meenaratha,
    tipped: article
    amount: 1000 SATS,
    )...