|
Rank: Member Groups: Member
Joined: 3/29/2009 Posts: 29
|
Hi, I seem to have an issue when replacing the standard "Browse..." with a more elegant "browse" button (png file). Ihave used the option "BackgroundImage" to refer to the png file and I can get the image to appear, however, there are issues with the various browsers rendering the image correctly. I suspect I am not setting the options correclty as I could only get the png file to appear by fudging the text in the "BrowseButtonText" to be a set of blank spaces.
Maybe I need to set something else when using images?
Also, is it possible to get rollovers working with a browse button image. (ie put Javascript logic against the image)?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, You will need to set UseLinkButton to true and then modify BrowseButtonText to something like this:
Code: HTML/ASPX
<img border="0" src="your_browse_button_image.gif" />
Note the size of the browse button image should be roughly identical to the original browse button. You can also do roll over this way because whatever you give to BrowseButtonText is interpreted as raw HTML. Thanks!
|
|
Rank: Member Groups: Member
Joined: 3/29/2009 Posts: 29
|
thankyou very much. It has now been tested in IE6 IE7 IE8 and firefox and it works fine.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Great to hear that! Please feel free to let us know if you have any other questions.
|
|