N
Nathan Sokalski
When a value is not specified for the Image control's BorderWidth property,
it automatically adds style="border-width:0px;" to the generated img tag.
This also occurs when the Hyperlink's ImageUrl property is used. I am not
sure what situations this may cause a problem in (maybe if it conflicts with
the CssClass property or something), but either way, it makes the file
larger, which is not exactly desirable. I am still using ASP.NET 2.0, so
maybe this is fixed in 3.5, does anybody know of a way to prevent ASP.NET
2.0 from generating undesired and unnecessary style attributes?
it automatically adds style="border-width:0px;" to the generated img tag.
This also occurs when the Hyperlink's ImageUrl property is used. I am not
sure what situations this may cause a problem in (maybe if it conflicts with
the CssClass property or something), but either way, it makes the file
larger, which is not exactly desirable. I am still using ASP.NET 2.0, so
maybe this is fixed in 3.5, does anybody know of a way to prevent ASP.NET
2.0 from generating undesired and unnecessary style attributes?