Problem: Attribute "border" exists, but can not be used for this element

J

Jeff

hi

asp.net 3.5

when validating my site I get the error mention in the subject of this post,
here is the source code generating the problem. I mean thisis the source
code taken from the browser:
<span><input type="image" name="ctl00$Login2$LoginView1$Login1$Submit"
id="ctl00_Login2_LoginView1_Login1_Submit" src="Images/Go.gif" alt="alt text
is here" onclick="javascript:WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions(&quot;ctl00$Login2$LoginView1$Login1$Submit&quot;,
&quot;&quot;, true, &quot;Login&quot;, &quot;&quot;, false, false))"
border="0" /></span>

The problem is that the border="0" isn't specified anyplace in the source
code, it's something that the browser generates and when I try to validate
the page I get this error... I have to add that when I copy the code and
paste it into the validator then no errors are found and site validates, but
when I refer with site URL, then it don't validates.. this is a mistery for
me

any suggestions?
 
G

Guest

hi

asp.net 3.5

when validating my site I get the error mention in the subject of this post,
here is the source code generating the problem. I mean thisis the source
code taken from the browser:
<span><input type="image" name="ctl00$Login2$LoginView1$Login1$Submit"
id="ctl00_Login2_LoginView1_Login1_Submit" src="Images/Go.gif" alt="alt text
is here" onclick="javascript:WebForm_DoPostBackWithOptions(new
WebForm_PostBackOptions(&quot;ctl00$Login2$LoginView1$Login1$Submit&quot;,
&quot;&quot;, true, &quot;Login&quot;, &quot;&quot;, false, false))"
border="0" /></span>

The problem is that the border="0" isn't specified anyplace in the source
code, it's something that the browser generates and when I try to validate
the page I get this error... I have to add that when I copy the code and
paste it into the validator then no errors are found and site validates, but
when I refer with site URL, then it don't validates.. this is a mistery for
me

any suggestions?

Hi Jeff,

you will find the answer here:
http://forums.asp.net/p/1075248/1577945.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,012
Latest member
RoxanneDzm

Latest Threads

Top