Button

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
shiranwas
Forum Commoner
Posts: 53
Joined: Fri Jul 07, 2006 10:41 pm
Location: Colombo

Button

Post by shiranwas »

Hi,

I want to insert an image for button
can anyone help me


<input name="cmdlogin" input type="submit" id="cmdlogin2" value="Login" >

this is the button i created with HTML

SHIRAN
thiscatis
Forum Contributor
Posts: 434
Joined: Thu Jul 20, 2006 11:00 am

Post by thiscatis »

Code: Select all

<INPUT TYPE="image" SRC="your image" HEIGHT="xx" WIDTH="xx" BORDER="0" ALT="Submit Form">
This is HTML, nothing to do with PHP;)

A small tip, I use css on my buttons, gives a more professional look than buttons in my opinion.
User avatar
shiranwas
Forum Commoner
Posts: 53
Joined: Fri Jul 07, 2006 10:41 pm
Location: Colombo

Thanx

Post by shiranwas »

its working as i wanted,

thanx a lot
Post Reply