ASP2 ImageButton renders unwanted Style Tag

D

Duncan

Good morning,

I'm trying to use a CSS Class to control the border around ImageButton
controls (Red for selected, green for available, etc) without any luck.

The problem seems to be that the ImageButton control always renders a
'style="border-width:0px;"' tag, which takes precedence over any
CSSClass="" tag which I supply. This happens even with the minimum
details required to make the tag appear and I can't see a way of
turning it off.

Any help greatly appreciated.

Duncan Spence
 

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

No members online now.

Forum statistics

Threads
473,786
Messages
2,569,626
Members
45,328
Latest member
66Teonna9

Latest Threads

Top