|
Posted by Jukka K. Korpela on 01/06/08 11:39
Scripsit spaceoutlet@gmail.com:
> Does anyone know how to hide the value of a submit button using CSS?
display: none
Well, the entire button is hidden then, but you didn't specify any
limitations.
You could also try setting font-size to 1px (or 0, but then browsers
might ignore it), though this cannot "work" on non-visual browsers or on
browsers that have a minimum font size setting. Or you might set the
color same as background-color, or set the width to 0 with overflow:
hidden.
> It would be usefull in order to make a website more accessible.
Now that was a surprise. Are you sure you didn't mean "inaccessible"?
> I googled around but only found a solution using javascipt.
My trollometer makes some noises now.
Unless you're just trying to make fun of us, please tell us what the
real problem is. I mean the assumed problem that you're trying to solve
with the odd goal of making a submit button appear without any text.
--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/
[Back to original message]
|