Re: Other than default grey button

From: Date: Mon, 30 Jan 2006 14:37:18 +0000
Subject: Re: Other than default grey button
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-229472@lists.php.net to get a copy of this message
Jevos, Peter wrote:
Hi all I'd like to ask you one ( probably ) simple question. I'm using webmail and I want to use other than default php grey button. I found on the pages how to use image instead of the default button. So I changed INPUT TYPE="submit" NAME="move_button" VALUE="Move" to INPUT TYPE="image'" NAME="move_button" VALUE="Move" SRC="../images/button.jpg" width="19" height="50" It works but I found the other important problem. This is image. What happend when I change the language ? Nothing cause this is permanent image and text "Move" is replaced by image So what should I do to change design of the button without using image ? Thanks a lot for an answers
You can also change the image with PHP depending on the user connecting or which language he/she has chosen. But for that you would have to create an image for each language. I also think CSS will be the easiest solution. http://www.w3.org/Style/CSS/ Good luck! Greets Barry -- Smileys rule (cX.x)C --o(^_^o)

« previous php.general (#229472) next »