HTML Tutorial


 Forum HomeForum Home   FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
RegisterRegister - Not registered yet? Got something to say? Join HTML Code Tutorial!
form in tables?
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form
View previous topic :: View next topic  
Author Message
velocity



Joined: 13 Jan 2005
Posts: 6

PostPosted: Thu Jan 13, 2005 8:21 am     form in tables? Reply with quote

I am trying to make the chat login in the table a form, but am having lots of problems doing so, could i get some help? Also how would i pass the info in this login to another form login?
Below is my html: (I have highlighted in RED what i am having problems with)
Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>

<head>
<title>Welcome to DebbieDoo.com</title>
<style type="text/css" media="screen"><!--
a { font-size: 100%;}
p { font-size: 100%; }
#layer1 { position: absolute; top: 227px; left: 227px; width: 396px; height: 618px; visibility:

visible; display: block }
--></style>
</head>

<body bgcolor="#b9b3b9" text="#f8209c" link="#fd5fdb" vlink="#ada6b5" alink="red" leftmargin="0"

marginheight="0" marginwidth="0" topmargin="0">
<table width="837" border="0" cellspacing="0" cellpadding="0" cool gridx="16" gridy="16"

height="932" showgridx showgridy usegridx usegridy>
<tr height="192">
<td width="16" height="896" rowspan="3"></td>
<td width="820" height="192" colspan="5" valign="top" align="left" xpos="16"><img

src="/dd/debbiedoo.gif" alt="" height="192" width="820" align="center" livesrc="/livesrc/debbiedoo.gif"></td>
<td width="1" height="192"><spacer type="block" width="1" height="192"></td>
</tr>
<tr height="688">
<td width="820" height="688" colspan="5" valign="top" align="left" xpos="16">
<table width="820" border="0" cellspacing="5" cellpadding="2"

align="center">
<tr>
<th bgcolor="#101010" width="25%">
<div align="center">
<b>Main Menu</b></div>
</th>
<th bgcolor="#101010" width="50%">
<div align="center">
<b>Hot News</b></div>
</th>
<th bgcolor="#101010" width="25%">
<div align="center">
<b>Chat Login</b></div>
</th>
</tr>
<tr height="7">
<center>
<th bgcolor="#b9b3b9" width="25%" height="7"></th>
<th bgcolor="#b9b3b9" width="50%" height="7">
<div id="layer1">
<font color="#101010">Well folks

here we are in the very beginning stages of site and shard development into &quot;public&quot; status. I hope you

are all as excited about this endevour as I am. Things have progressed alot thanks to my hard working and noble

staff. A shard owner could never expect to be as lucky as me. Everyone donated their time and talents equally,

without so much as a gripe. I thank you all. There were many times I wanted to throw in the towel and give up, but

you all have stuck with me and helped to hold me together.<br>
</font>
<p><font color="#101010">We are a

family oriented shard, looking to become the most unique experience you have come across. We will not bore you by

giving you everything on a silver platter, nor by making things so difficult to obtain. We try to keep things on an

even keel, and as fair for all as is possible. We reward good behavior and donations of all types to the shards

growth and improvement. We also punish those not willing to follow the rules and/or ruin the fun of others.<br>
</font></p>
<p><font color="#101010">We are

always on a lookout for new ideas and suggestions. Whether it be something we over looked or something you'd like to

see. SHARE, please. But keep in mind, we are not looking for staff members at this point in time. When and if we are

you will see it posted here on our home page.<br>
</font></p>
<p><font color="#101010">Now, kindly

take this opportunity to get to know each one of my staff members, and thank them again on my behalf for their hard

work and dedication. Also, read the rules of the shard and browse around some. Above all else please enjoy your

visit to our site and your stay on our shard.<br>
</font></p>
<p><font color="#101010">P.S. -

Check back here often, there will be special rewards, functions, etc. available only to those of you who do visit

our site. :)</font></p>
</div>
</th>
<th bgcolor="#b9b3b9" width="25%" height="7"></th>
</center>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/index.html">Home</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%">Username:<input

type="text" name="UserName" value="User Name" size="19" border="0"></td>

</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/about.html">About</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%">Password:<input

type="password" name="pswdField" size="19" border="0"></td>

</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/rules.html">Player Rules</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%">
<div align="right">
<input type="submit" name="submit"

value="Submit" border="0"><input type="reset" border="0"></div>

</td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/srules.html">Staff Rules</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/meet.html">Meet the Staff</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"><a

href="http://debbiedoo.com/tinc?key=c3Wxl4YU&channel=75037" target="_new">Register</a></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/contact.html">Contact Us</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"><a

href="http://debbiedoo.com/tinc?key=WLBk6WMX&channel=75037" target="_new">Sign in as a guest</a></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a title="Forums"

href="http://67.40.142.228/debbiedoo/index.php">DebbieDoo Forums</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"><a

href="http://www.debbiedoo.com/chat.html" target="_new">IRC Based (flash player needed)</a></td>
</tr>
<tr>
<td width="25%"></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#b9b3b9" width="25%"></td>
</tr>
<tr height="10">
<td bgcolor="#b9b3b9" width="25%" height="10"></td>
<td bgcolor="#b9b3b9" width="50%" height="10"></td>
<td bgcolor="#b9b3b9" width="25%" height="10"></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%">
<div align="center">
<b>Related Links</b></div>
</td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%">
<div align="center">
<b>Other Links</b></div>
</td>
</tr>
<tr height="7">
<td width="25%" height="7"></td>
<td width="50%" height="7"></td>
<td width="25%" height="7"></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="http://www.uogateway.com" target="_new">UOGateway</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"><a

href="http://520064987343-001.bei.t-online.de/tor/" target="_new">Tower of Roses</a></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="http://www.runuo.com" target="_new">RunUO</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"><a

href="http://home.wmis.net/%7egretchen/" target="_new">Honey Rares</a></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="http://www.uo.com" target="_new">OSI</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"><a

href="http://www.tamingarchive.com/" target="_new">Taming Archive</a></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="http://uo.stratics.com" target="_new">UO Stratics</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="http://www.uoam.net" target="_new">UO Automap</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%"><a

href="http://www.runuo.com/razor" target="_new">Razor</a></td>
</tr>
</table>
</td>
<td width="1" height="688"><spacer type="block" width="1" height="688"></td>
</tr>
<tr height="16">
<td width="820" height="16" colspan="5" valign="top" align="left" xpos="16">
<hr size="1" width="820">
</td>
<td width="1" height="16"><spacer type="block" width="1" height="16"></td>
</tr>
<tr height="16">
<td width="304" height="35" colspan="2" rowspan="2"></td>
<td content csheight="20" width="215" height="35" rowspan="2" valign="top"

xpos="304">
<div align="center">
<font color="#141414">Copyright DebbieDoo.com 2005</font></div>
</td>
<td width="317" height="16" colspan="3"></td>
<td width="1" height="16"><spacer type="block" width="1" height="16"></td>
</tr>
<tr height="19">
<td width="153" height="19"></td>
<td content csheight="16" width="160" height="19" valign="top" xpos="672"><font

size="-3" color="#141414" face="Arial,Helvetica,Geneva,Swiss,SunSans-Regular">Website Created by:

Velocity</font></td>
<td width="4" height="19"></td>
<td width="1" height="19"><spacer type="block" width="1" height="19"></td>
</tr>
<tr height="1" cntrlrow>
<td width="16" height="1"><spacer type="block" width="16" height="1"></td>
<td width="288" height="1"><spacer type="block" width="288" height="1"></td>
<td width="215" height="1"><spacer type="block" width="215" height="1"></td>
<td width="153" height="1"><spacer type="block" width="153" height="1"></td>
<td width="160" height="1"><spacer type="block" width="160" height="1"></td>
<td width="4" height="1"><spacer type="block" width="4" height="1"></td>
<td width="1" height="1"></td>
</tr>
</table>
<p></p>
</body>

</html>


I want all in red to be in form, without resizing or messing up the tables.
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Fri Jan 14, 2005 12:34 pm     Reply with quote

what scripting language are you using to log the users in? you will need to include a <form> tag to specify that you are creating a form, then give that form an action

Code:

<form action="login.php" method="post">
<td bgcolor="#101010" width="25%">Username:<input

type="text" name="UserName" value="User Name" size="19" border="0"></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/about.html">About</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%">Password:<input

type="password" name="pswdField" size="19" border="0"></td>
</tr>
<tr>
<td bgcolor="#101010" width="25%"><a

href="/dd/rules.html">Player Rules</a></td>
<td bgcolor="#b9b3b9" width="50%"></td>
<td bgcolor="#101010" width="25%">
<div align="right">
<input type="submit" name="submit"

value="Submit" border="0"><input type="reset" border="0"></div>

</form>


(or something similar)
velocity



Joined: 13 Jan 2005
Posts: 6

PostPosted: Fri Jan 14, 2005 2:01 pm     Reply with quote

Thanks but i figured it out already, i just tore apart some other websites to see how they did it and got it working, but thanks for the reply.
chrisxkelley



Joined: 07 Dec 2004
Posts: 246

PostPosted: Fri Jan 14, 2005 3:32 pm     Reply with quote

glad you figured it out...youre welcome
Display posts from previous:   
Post new topic   Reply to topic    HTML Help Forum Index -> HTML Form All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
HTML Help Archive
Powered by phpBB © 2001, 2005 phpBB Group
HTML Help topic RSS feed 

 
HOSTING / DESIGN
MAKE MONEY

Home
  |   Tutorials   |   Forum   |   Quick List   |   Link Directory   |   About
Copyright ©1997-2002 Idocs and ©2002-2007 HTML Code Tutorial