how to fix a bad code with an attribue

4 replies
  • WEB DESIGN
  • |
Hey guys

I've added a tooltip to my squeeze page,
when you click one of the input fields you'll see it coming.

The thing is the tooltip uses an attribue which
produces an error in the code (according to v3 validator)

This is the page

Billiards Success Secrets Revealed...

Any suggestions?

Thanks a lot in advance,

- Adam
#attribue #bad #code #fix
  • Profile picture of the author Aronya
    Don't know what an attribue is, but if you told us what the error is, maybe someone can help.
    {{ DiscussionBoard.errors[2020033].message }}
    • Profile picture of the author apoorv.parijat
      Checked the source of the page and as far as I understand,I think you are talking about this.

      Line 57, Column 87: there is no attribute "tooltipText" ..."name" value="" size="20" tooltipText="Type in your firstname in this box"/></...
      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.
      It's absolutely not a problem.Adding custom attributes is a most used technique for writing dynamic JavaScript.You should be happy that except for the "tooltip" attribute,everything is validated clean.

      Cheers
      {{ DiscussionBoard.errors[2020259].message }}
  • Profile picture of the author Adam Goldman
    So google wise it wouldn't be a problem you say?

    That's great! Thanks a lot

    About the "you should be happy part,"
    It took me a while to learn how to make a 100% validate landing page.

    If you need anyhelp with validating code gimme a buzz
    {{ DiscussionBoard.errors[2020527].message }}
    • Profile picture of the author apoorv.parijat
      You're welcome.

      No.Google won't have a problem. By the way, I'm a developer myself.So I know things.Still it's kind of you to offer help.Thank you

      Good luck in your endeavors.Really nice work there.Hope it serves your purpose well.

      Cheers.

      Apoorv Parijat
      {{ DiscussionBoard.errors[2020857].message }}

Trending Topics