Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

A Working Enter Button, but no image, just a square white box.

9:35 pm on Jul 28, 2012 (gmt 0)

Junior Member

joined:Feb 23, 2012
posts: 91
votes: 0

I'm trying to use image locaenterbutton.jpg for an enter button and on page when I test it in my browser, I just see a white box.

What 'am I missing?

This is my entry below.

<td><input name="myBtn" type="locaenterbutton.jpg" src="Custom Image Button Src Goes Here" width="88" height="436" style="width:88px;height:36px;padding:1px;margin:0px;border:none;" onClick="javascript:ajax_post();"></td>

Thanks, Scott
3:13 am on Aug 2, 2012 (gmt 0)


WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:July 31, 2003
votes: 0

Looks like you have invalid attributes there, have you tried to validate your source code?
8:23 pm on Aug 2, 2012 (gmt 0)

Junior Member

joined:Feb 23, 2012
posts: 91
votes: 0

This worked for me. I hope it helps someone else.

<input name="myBtn" type="image" style="width:88px;height:36px;padding:1px;margin:0 px;border:none;" onclick="javascript:ajax_post();" src="/root/images/locaenterbutton.jpg" align="middle" width="88" height="436"/></td>

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members