On Aug 15, 2005, at 4:15 AM, Rex Chung wrote:
Anyone know what is the best practise for image replacement with rollover states for submit buttons. I tried adding onmouseover class change javascript with: 1. background image for <input type="submit" /> but - doesnt work for safari, value attribute shows up 2. text-indent=-1000em for <button type="submit" >submit</button> but onmouseover doesnt seem to work for IE.
Is there a reason you can't use an input type="image", and then swap the src value on rollover? For purposes of having readable text, make sure to add an alt attribute.
-- Ben Curtis : webwright bivia : a personal web studio http://www.bivia.com v: (818) 507-6613 ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************