So I am in the process of making a text/clicked based game (like kingdom of loathing)
I had to re-write my .css file AND my friggin table structure.... it sort of works now, my code is messy though:
Register.html:
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<body>
<h5>
<table border="2" cellpadding="20">
<tr><td>
<form type="submit">
Desired User Name: <input type="text" size="10" maxlength="10" name="name"> <br />
Password (between 5-14 characters): <input type="password" size="14" maxlength="14" name="password">
Confirm Password: <input type="password" size="14" maxlength="14" name="password">
<br />
select race:
<select>
<option>Gartusk</option>
<option>Vlaad</option>
<option>Human</option>
</select>
<br /><br /><br />
<input type="submit" value="Register!">
</td>
</tr>
</table>
</h5>
<table border="1" cellpadding="20">
<tr><td><a href="index.html">Home</a></td>
<td><a href="faq.html">FAQ</a>
<td>Log In</td>
<td><a href="register.html">Register</a></td>
<td>About</td>
<td><a href="www.site.com/Store.php>Store</a></td></tr>
</table>
</form>
</body>
</html>
My CSS code isn't as bad:
body{ background-image: url(stars.jpg); }
table {color: green; border-width: 7px;
border-style: dashed; }
p{color: red ;}
h5{color: green; }
h4{color: green; }
h3{color: green; }
a:link { color: green; }
a:visited { color: green; }
a:hover { color: purple; }
------------------
Anyways, the problem was when I first did register I tried putting the Form below the table I have/had. It was screwing it up, so after 15min of headbanging I just decided to re-write.
My question is if you have a form how do you put it UNDER a table so it doesn't enter into the end of the table (what happened to me).
I had to re-write my .css file AND my friggin table structure.... it sort of works now, my code is messy though:
Register.html:
<html>
<head>
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
</head>
<body>
<h5>
<table border="2" cellpadding="20">
<tr><td>
<form type="submit">
Desired User Name: <input type="text" size="10" maxlength="10" name="name"> <br />
Password (between 5-14 characters): <input type="password" size="14" maxlength="14" name="password">
Confirm Password: <input type="password" size="14" maxlength="14" name="password">
<br />
select race:
<select>
<option>Gartusk</option>
<option>Vlaad</option>
<option>Human</option>
</select>
<br /><br /><br />
<input type="submit" value="Register!">
</td>
</tr>
</table>
</h5>
<table border="1" cellpadding="20">
<tr><td><a href="index.html">Home</a></td>
<td><a href="faq.html">FAQ</a>
<td>Log In</td>
<td><a href="register.html">Register</a></td>
<td>About</td>
<td><a href="www.site.com/Store.php>Store</a></td></tr>
</table>
</form>
</body>
</html>
My CSS code isn't as bad:
body{ background-image: url(stars.jpg); }
table {color: green; border-width: 7px;
border-style: dashed; }
p{color: red ;}
h5{color: green; }
h4{color: green; }
h3{color: green; }
a:link { color: green; }
a:visited { color: green; }
a:hover { color: purple; }
------------------
Anyways, the problem was when I first did register I tried putting the Form below the table I have/had. It was screwing it up, so after 15min of headbanging I just decided to re-write.
My question is if you have a form how do you put it UNDER a table so it doesn't enter into the end of the table (what happened to me).