Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 09, 2012 06:18 AM by eastla
Nov 09, 2012 12:22 AM|LINK
I have tried to set the image of an image button dynamically so I can get a rollover effect.
It is working as intended in all browsers except for the current version of IE.
In IE it displays a border around the image. Seems to be because I am not setting the imageURL.
I have struggled with this for hours and tried numberous things in the css to rectify it.
Here is my css for a lightglobe image when it appears as selected:
background: url(../images/globeSelected.png) top left no-repeat;
border: 0 none;
And here is the ImageButton code from with in a datalist:
<asp:ImageButton ID="light" CssClass='<%# strpLBOX(DataBinder.Eval(Container.DataItem, "productID"))%>' title="Delete From Lightbox" runat="server" CommandName='deleteFromBox' CommandArgument='<%# strp(DataBinder.Eval(Container.DataItem, "productID"))%>'
Anyone suggest how I can fix this issue please?
Nov 09, 2012 01:04 AM|LINK
what is the current IE version?
Nov 09, 2012 01:27 AM|LINK
Nov 09, 2012 05:18 AM|LINK
might be background-position is incorrect. check these sites for help:
Nov 09, 2012 06:18 AM|LINK