Grow your CSS skills. Land your dream job.

site is not validations

  • # December 12, 2009 at 4:36 pm

    My site is a work in progress and I am having trouble validating it. It is saying I have 1 error.

    Line 72, column 331: Attribute "onload" exists, but can not be used for this element.
    …t="95" border="0" id="home2" onload="" /></a><a href="about.html" target="_to

    Not sure why because that little piece of script is needed for my rollover.

    here is the site
    http://www.appleheadwebdesign.com/index.html

    # December 12, 2009 at 5:30 pm
    "bruizerbeans" wrote:
    Not sure why because that little piece of script is needed for my rollover.

    Actually, from what I can tell, that peice of code is not doing anything:’

    Code:
    onload=””

    That is saying: "When this loads… don’t do anything"

    I would remove the empty onloads from all the images and see if the rollover still works. It should work and validate.

    # December 13, 2009 at 1:41 pm

    Thanks for your help. I really appreciate it. Happy Holidays.

    # December 13, 2009 at 1:46 pm

    Sure thing. Have a merry one. ;)

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".