ASP.NET/VB: Style Junk Added

Why does this:
<asp:image ID="headlineImage" runat="server" ImageUrl="headlines.jpg" alt=" News" title="News" />

Open in new window

Turn into this:
<img id="headlineImage" alt="News" title="News" src="headlines.jpg" style="border-width:0px;" />

Open in new window

?

Where does the style="border-width:0px;" code come from?  I do NOT want it!
LVL 16
hankknightAsked:
Who is Participating?
 
Tom BeckConnect With a Mentor Commented:
I recommend using the standard html <img tag and adding the attribute runat="server" if you need to access the images server side. Then you can style your image borders as you please.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.