Comments on: HTML Buttons with an image https://technology.amis.nl/2004/09/01/html-buttons-with-an-image/ Friends of Oracle and Java Thu, 21 May 2015 20:49:51 +0000 hourly 1 http://wordpress.org/?v=4.2.2 By: Zoltan Andrasi https://technology.amis.nl/2004/09/01/html-buttons-with-an-image/#comment-716 Thu, 18 Jan 2007 11:20:05 +0000 /?p=145#comment-716 What do you think about collapsing the button [input type=”button” id=”pushButton” accesskey=”p” style=”visibility:collapse” /] and replacing it with a label assigned to it: [label for=”pushButton”][u]P[/u]ush me![/label]

]]>
By: http://technology.amis.nl/blog/index.php?p=145 https://technology.amis.nl/2004/09/01/html-buttons-with-an-image/#comment-715 Sun, 13 Nov 2005 21:05:53 +0000 /?p=145#comment-715 http://technology.amis.nl/blog/index.php?p=145

]]>
By: leon https://technology.amis.nl/2004/09/01/html-buttons-with-an-image/#comment-714 Thu, 02 Sep 2004 07:17:25 +0000 /?p=145#comment-714 Good points! I hadn’t thought of the accesskey not being present on the text on the button in some languages !

]]>
By: James https://technology.amis.nl/2004/09/01/html-buttons-with-an-image/#comment-713 Wed, 01 Sep 2004 22:34:20 +0000 /?p=145#comment-713 oops. html allowed.

anyway you’d be better off to write a custom tag do do this button for you.

you could define the accesskey, and if the accesskey was not found in the word to be displayed, display the accesskey afterwards in brackets:

eg:

someForeignWord [p]

]]>
By: James https://technology.amis.nl/2004/09/01/html-buttons-with-an-image/#comment-712 Wed, 01 Sep 2004 22:32:10 +0000 /?p=145#comment-712 having to create an image for every button is a bit of a bummer.

Maybe you could try something like:

push me

use css to style is into a square button..

]]>