Image control emits arbitrary "style" into HTML tag??? Why???

S

Shurik

Hey everyone,

Just run into an issue with ASP.NET 2.0 Image control... I assign CSS
style to it in HTML (CssClass="blah"), but when I hit the page with a
browser my style isn't used due to style="border-width:0px;" attribute
appearing out of nowhere... What the hell happens? I don't set any
properties for the control in Properties window and definitely don't
expect this attribute to appear....

Hope some of you have some idea as to how overcome this..

Regards
 
S

Steve

I don't have an answer, but I wanted to let you know that you are not
alone. I am having the same problem. The erroneous Style setting is
overriding the settings in the CSS Class. What a headache!
 

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

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,050
Latest member
AngelS122

Latest Threads

Top