Bad attribute "xxx" on element <DIV>

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
Post Reply
RobvS
Rank 0 - Newcomer
Posts: 2
Joined: Sun Jul 24, 2022 12:00 pm

Bad attribute "xxx" on element <DIV>

Post by RobvS »

Hi, i am using jqxWidgets , a javascript library along with my HTML web pages.

An error is generated on this line <DIV id='headerDock' dock='top' style='background: white; height: 155px;'>
The error is: Bad attribute "dock" on <DIV> elemets.

However the page renders perfectly and the jqxWidget does understand the dock=".."

How to get rid of this error message?

Thanks, Rob
User avatar
Albert Wiersch
Site Admin
Posts: 3783
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Bad attribute "xxx" on element <DIV>

Post by Albert Wiersch »

Hi Rob,

The quickest and easiest way is to right-click on the error message when it's shown in the Results Window in CSS HTML Validator's editor, and choose Message Options > Disable using Exact Text Match. That will disable all messages that exactly match the text of the message you are disabling.

More information on disabling messages is here:
https://www.htmlvalidator.com/current/d ... ssages.htm
and
https://www.htmlvalidator.com/current/d ... g_messages

I hope this helps. Please let me know if you have any more questions.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
RobvS
Rank 0 - Newcomer
Posts: 2
Joined: Sun Jul 24, 2022 12:00 pm

Re: Bad attribute "xxx" on element <DIV>

Post by RobvS »

Thanks Albert!
Post Reply