When trying to validate my site, I get the following error:
-
Line 188, column 134: Attribute “border” exists, but can not be used for this element.
~/images/gobutton.jpg” border=”0″ />
My asp.net source looks like this:
<asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl="~/images/gobutton.jpg" OnClick="ImageButton1_Click"
ValidationGroup="search"/>
Why is the border element being rendered by the imagebutton?
Is there anyway to control this?
Thanks
This article identifies the same issue
XHTML Validation Fails due to renders a BORDER=”0″ output