Rank: Member Groups: Member
Joined: 10/17/2007 Posts: 13
|
I currently have an image as a browse-button and I want to add an alt-text to it. I have a CssClass that I specify for <BrowserButtonStyle>. The browse-image is specified in the css-class. Quote:.browserButton { BACKGROUND-IMAGE: url(http://.../itemIconRoundSmall_plus.png); WIDTH: 19px; HEIGHT: 19px; BACKGROUND-COLOR: #f9f9f9; } Is there any way to add an alt-text to the css-class or can the alt-text be added in another way?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi Nisse,
Don't use BrowseButtonStyle. Try to set UseLinkButton to "True" and then set BrowseButtonText to something like:
<img src=".../itemIconRoundSmall_plus.png" border="0" alt="browse file" />
Thanks
|
Rank: Member Groups: Member
Joined: 10/17/2007 Posts: 13
|
I did that but the alt-text is not visible in IE6 or in Firefox..
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
Hi,
It won't show you the tooltip, but it will show you the text if the image is not displayed (bad image location, user turned off image, etc), which is the original purpose of the alt attribute.
Thanks
|