hopesfall
09-09-2008, 11:22 PM
I can't get the text I want to go right next to the input boxes that I am using. They always keep floating on the top left of the cell but I want them right next to the cell, on the left. Can anyone help? Here's the code if anyone can help please.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MyHost</title>
<link href="riot.css" type="text/css" rel="stylesheet">
</head>
<body bgcolor="white" topmargin="0">
<table border="0" cellpadding="0" cellspacing="0" width="900" bgcolor="#33ffff" height="100%" align="center">
<tr>
<td valign="top">
<!--bannerlogo at top--->
<table border="0" cellpadding="0" cellspacing="0" width="900" bgcolor="#579696" height="90" >
<tr>
<td>
<id class="logo1"> <!--img src="bannerlogo.jpg"></img--> </h1>
</td>
<!---login tab--->
<td>
<table border="1" cellpadding="0" cellspacing="0" width="300" bgcolor="#579696" align="right" class="logintable">
<tr>
<td>
Login:<input type="text" name="login" style="float:right;"></td>
<tr>
<td>Password:<input type="text" name="password" style="float:right;"></td>
</tr>
<td><input value="Login!" type="submit"></td>
</td>
</tr>
</table>
</tr>
</table>
<!---first seperation bar and row--->
<img src="sepbar1.jpg"> </img>
<!---end sep bar--->
</body>
</html>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>MyHost</title>
<link href="riot.css" type="text/css" rel="stylesheet">
</head>
<body bgcolor="white" topmargin="0">
<table border="0" cellpadding="0" cellspacing="0" width="900" bgcolor="#33ffff" height="100%" align="center">
<tr>
<td valign="top">
<!--bannerlogo at top--->
<table border="0" cellpadding="0" cellspacing="0" width="900" bgcolor="#579696" height="90" >
<tr>
<td>
<id class="logo1"> <!--img src="bannerlogo.jpg"></img--> </h1>
</td>
<!---login tab--->
<td>
<table border="1" cellpadding="0" cellspacing="0" width="300" bgcolor="#579696" align="right" class="logintable">
<tr>
<td>
Login:<input type="text" name="login" style="float:right;"></td>
<tr>
<td>Password:<input type="text" name="password" style="float:right;"></td>
</tr>
<td><input value="Login!" type="submit"></td>
</td>
</tr>
</table>
</tr>
</table>
<!---first seperation bar and row--->
<img src="sepbar1.jpg"> </img>
<!---end sep bar--->
</body>
</html>
