Taco Fleur wrote:
I have a question in regards to styling a submit button.
I have the following HTML
<input name="doSearch" type="image" id="btnGo" value="GO"
src="/certainedge/_resource/generic/image/btn_go.jpg" alt="GO">
Following is the CSS I used, which I hoped would change the image, but
it doesn't.
input#btnGo {
background: url(/proximer/_resource/generic/image/btn_go.jpg)!important
top left no-repeat;
}
It probably "works", but the background image is neatly covered by the
actual image of the button itself.
Would it be acceptable to just use a input of type "submit" and leave
the value empty?
<input name="btnGo" type="submit" id="btnGo">
Not really, as the value in the case of these buttons is the actual
label (that would, for instance, be read out by screen readers).
What are you actually trying to achieve?
P
--
Patrick H. Lauke
______________________________________________________________
re·dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com
______________________________________________________________
Co-lead, Web Standards Project (WaSP) Accessibility Task Force
http://webstandards.org/
______________________________________________________________
*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************