Using a negative text indent to "hide" the button label, is not what I would
label as a "best practice" -- IMO. Are the button values dynamically
changing? If not, why even have text for the value attribute? There's no
reason -- scripting-wise that it makes sense to do it.

Why? Simple. In most all cases -- save dynamically changing the "value" of
the button -- you taking specific actions based on specific buttons. Those
actions should be determined based on the button ID, not the value
attribute. 

If I click on a "Make Background Color Red" button, I have an onclick,
onmousedown, or mouseup handler attached to
document.getElementById("changeBgRed_btn").

If you're striving towards "best pratices" make it an all-around success by
avoiding this type of hackish use to accommodate what is possibly a poor
scripting practice. Just fix the scripting so that you don't need to worry
about text-indent: -(0.000001-E50px).

...Rob

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to