Congratulations to AcaCandy on her 100,000th post!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
acer black screen blue screen boot bsod computer connection crash css dell driver drivers email error ethernet excel firefox firefox 3 game hard drive internet internet explorer itunes laptop linux malware monitor network networking nvidia outlook outlook 2003 outlook 2007 outlook express partition printer problem router slow software sound trojan usb video virus vista windows windows vista windows xp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Easy table question


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
05-Feb-2006, 12:25 PM #1
Easy table question
hey guys, ok i have a login form, found here; www.visionstudios.be what i want to do is change the "Log In" button so its just a text link, how can i do this? btw; heres the code,

<td width="100%"><center><form action='http://visionstudios.be/forums/index.php' method='post'>
<input type='hidden' name='act' value='Login' />
<input type='hidden' name='CODE' value='01' />
<input type='hidden' name='s' value='189c625b79d9835cedc37eba850aa527' />
<input type='hidden' name='referer' value='act=Login&CODE=01&CookieDate=1' />
<input type='hidden' name='CookieDate' value='1' />

<table>
<tr>
Username:

<input type='text' size='20' maxlength='64' name='UserName' class='forminput' />
</tr>
<tr>
Password:
<input type='password' size='20' name='PassWord' class='forminput' />
</tr>
</table><input type='submit' name='submit' value='Log In' class='forminput' /></form></center>
</td>

thanks -cnelson.
php guy's Avatar
Computer Specs
Senior Member with 514 posts.
 
Join Date: Dec 2004
Location: Bowlaro Lanes, WA
Experience: That's Mr. Clueless to you
05-Feb-2006, 02:19 PM #2
You can do this 2 ways:

1: You can make a style for the submit button and have the border and background match your page background (compadiable for non JS users)

or

2:You can use javascript to make a text link to submit the forum, which will not work for non-JS users

This way, you'd change the name of your form to this,
Code:
<form action='http://visionstudios.be/forums/index.php' method='post' name='theform'>
Then make the text link like this,
Code:
<a href="javascript:document.myform.submit();">Submit</a>
<noscript><input type="submit" value="Submit" /></noscript>
Note:I added a noscript submit button incase the user doesn't have JS
__________________
if($post) echo $signature;
cnelson04's Avatar
Senior Member with 898 posts.
 
Join Date: Dec 2003
05-Feb-2006, 05:30 PM #3
i did it in javascript. but without the nonscript.
php guy's Avatar
Computer Specs
Senior Member with 514 posts.
 
Join Date: Dec 2004
Location: Bowlaro Lanes, WA
Experience: That's Mr. Clueless to you
05-Feb-2006, 05:31 PM #4
Alright, but keep in mind that anyone that doesn't have JS enabled will not be able to submit it (unless they press enter).
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:50 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.