You can use table for HTML formatting. Your example may look like this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html
<html>
<head>
<!-- Include personal style sheet -->
<link rel="stylesheet" type="text/css" href="http://localhost/owc
<TITLE>Login</TITLE>
<style>
<!--
html, body {
margin:0px;
padding:0px;
background-color:#000;
background-image: url('space1.jpg');
background-repeat: no-repeat;
background-attachment: fixed;
}
-->
</style>
<head>
<script type="text/javascript">
if(top.location.href!=loca
top.location.href = location.href;
}
</script>
</head>
<body>
<FORM METHOD=POST ACTION="LoginFormA.php">
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="center" valign="center">
<table width="245" height="150" border="0" cellpadding="0" cellspacing="0">
<tr>
<td nowrap="nowrap" colspan="3" width="245" height="40"><img src="OneWorldLogo1.JPG" width="245" height="40"></td>
</tr>
<tr>
<td nowrap="nowrap" height="22"><label for="Email" style="color: yellow; border: ridge; width: 80px; text-align: center;">Email/User:</labe
<td nowrap="nowrap" height="22"> </td>
<td nowrap="nowrap" height="22"><input type="text" name="Email" style="color: black; border: ridge" maxlength="40" size="22" /></td>
</tr>
<tr>
<td nowrap="nowrap" height="22"><label for="Password" style="color: yellow; border: ridge; width: 80px; text-align: center;">Password:</label>
<td nowrap="nowrap" height="22"> </td>
<td nowrap="nowrap" height="22"><input type="Password" name="Password" style="color: black; border: ridge;" maxlength="40" size="22" /></td>
</tr>
<tr>
<td nowrap="nowrap" height="22"><label for="Role" style="color: yellow; border: ridge; width: 80px; text-align: center;">Role:</label></td
<td nowrap="nowrap" height="22"> </td>
<td nowrap="nowrap" height="22">
<select name="Role" class="hsoL1132" style="color: black;background-color: white; width: 160px;">
</select>
</td>
</tr>
<tr>
<td colspan="3" nowrap="nowrap" align="center" height="22">
<input type=SUBMIT VALUE="Log In" style= "width: 122px" />
<input type=SUBMIT VALUE="Log Out" style="width: 122px" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
Main Topics
Browse All Topics





by: mplungjanPosted on 2006-01-10 at 05:44:57ID: 15660146
How does your CSS look?
amples/007 /center.ht ml u/presenta tion/cente r/
Also start by removing fixed and absolute and use a background image that can repeat
Have a look here:
http://www.w3.org/Style/Ex
http://www.maxdesign.com.a