...

View Full Version : help with Template Via Php



howhigh
10-02-2006, 03:39 AM
Hello I am having troubles getting this bar to the right of this site

http://www.mommywarbucks.com/pages/login.php

If you look at that site you will see that the Login Form is on The news bar And iam having troubles getting in the center. If anyone could help me with this I have the code iam useing in the template file The php files have a Included tag Witch includes the header file into the script Inside the header.php file it has this code
Can anyone tell me if where the problem is or give me a message at st8thuggin4life@hotmail.com

Thankyou

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Mommy War Bucks</title>
</head>
<link href="<script language="php"> pages_url();</script>star.css" rel="stylesheet" type="text/css"> <script language="JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
</head>
<body bgcolor="#cccccc" background="images/retro_01_squares2.jpg" style="background-attachment: fixed" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" rightmargin="0" bottommargin="0">
<div align="center">
<table width="775" border="0" cellspacing="1" cellpadding="0" style="border-collapse: collapse">
<tr>
<td colspan="3">
<img border="0" src="images/Image7.jpg" width="100%" height="169"></td>
</tr>
<tr>
<td width="20%" bgcolor="#CB9696" valign="top">&nbsp;<div align="center">
<table border="1" style="border-collapse: collapse" width="90%" id="table1" bordercolor="#AB7271">
<tr>
<td><font color="#4D3B18">Home</font></td>
</tr>
<tr>
<td><font color="#4D3B18">Offers</font></td>
</tr>
<tr>
<td><font color="#4D3B18">My Earnings</font></td>
</tr>
<tr>
<td><font color="#4D3B18">My Account</font></td>
</tr>
<tr>
<td><font color="#4D3B18">Forum</font></td>
</tr>
<tr>
<td><font color="#4D3B18">Chat</font></td>
</tr>
<tr>
<td><font color="#4D3B18">FAQ</font></td>
</tr>
<tr>
<td><font color="#4D3B18">Contact</font></td>
</tr>
</table>
</div>
</td>
<td width="60%" bgcolor="#D2A4A4" align="center" valign="top">
<p><br><br></td>
<td width="20%" bgcolor="#CB9696" align="center" valign="top"><p>
<img border="0" src="images/news3.gif" width="155" height="30"></p>

_Aerospace_Eng_
10-02-2006, 05:22 AM
Try it like this

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Mommy War Bucks</title>
<style type="text/css">
html, body {
margin:0;
padding:0;
background:#FFF;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
background:url(images/retro_01_squares2.jpg) center;
}
form {
margin:0;
padding:0;
}
#container {
width:760px;
margin:auto;
padding-bottom:10px;
background:#CB9696 url(contbg.gif) top right repeat-y;
}
#header {
background:url(images/Image7.jpg) no-repeat;
height:169px;
text-indent:-9999px;
}
#nav {
width:130px;
padding:0 5px;
margin:10px 0 0 0;
list-style:none;
float:left;
}
#nav li {
border-bottom:1px solid #AB7271;
border-left:1px solid #AB7271;
border-right:1px solid #AB7271;
}
#nav li.top {
border-top:1px solid #AB7271;
}
#nav li a {
color:#4D3B18;
display:block;
width:125px;
padding:2px 0 2px 3px;
text-decoration:none;
}
#nav li a:hover {
background:#D2A4A4;
color:#000;
}
#content {
width:319px;
float:left;
padding:5px;
}
#news {
width:291px;
float:left;
}
.clear {
clear:both;
font-size:0;
line-height:0px;
}
#content h1 {
margin:0;
padding:0 0 5px 0;
text-align:center;
font-size:large;
}
#content label {
font-weight:bold;
clear:both;
display:block;
width:50%;
float:left;
text-align:left;
}
#content span.note {
font-weight:bold;
}
#content input {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
width:155px;
display:block;
float:left;
}
#content div.note {
font-size:x-small;
clear:both;
}
#content label.checkbox {
width:auto;
}
#content label.checkbox input, #content input.submit {
width:auto;
float:none;
display:inline;
}
a.forgot {
text-decoration:underline;
color:#FFF;
}
a.forgot:hover {
text-decoration:none;
}
#content form {
text-align:center;
}
#news h1.title {
margin:3px 0 0 0;
padding:0;
text-indent:-9999px;
background:url(images/news3.gif) top center no-repeat;
height:30px;
}
#footer {
text-align:center;
width:775px;
margin:auto;
font-size:10px;
color:#333;
}
</style>
</head>
<body>
<div id="container">
<div id="header">Mommy Warbucks</div>
<ul id="nav">
<li class="top"><a href="#">Home</a></li>
<li><a href="#">Offers</a></li>
<li><a href="#">My Earnings</a></li>
<li><a href="#">My Account</a></li>
<li><a href="#">Forum</a></li>
<li><a href="#">Chat</a></li>
<li><a href="#">FAQ</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div id="content">
<h1>Log In</h1>
<form method="post">
<label for="username">Username or eMail address:</label>
<input type="text" name="username" id="username" size="10"><br>
<label for="password">Password:</label>
<input type="password" name="password" id="password" size="10"><br>

<label for="autologin" class="checkbox">Use Auto-login
<input type="checkbox" checked="checked" name="autologin" id="autologin" value="1">
</label>
<label for="ipsec" class="checkbox"> Secure your PHPSESSIONs?
<input type="checkbox" checked="checked" name="ipsec" id="ipsec" value="1">
</label>
<div class="note">(not compatible with some Internet providers)</div><br>
<input class="submit" type="submit" value="Login" name="submit"><br>
<a href="/pages/lost_login.php" class="forgot">(Forgot your password/ID?)</a>
</form>
</div>
<div id="news">
<h1 class="title">News</h1>
</div>
<div class="clear">&nbsp;</div>
</div>
<div id="footer">All Rights Reserved. 2006. mommywarbucks.com <br>Designed By Dirt Designs Inc [DDI] 2006</div>
</body>
</html>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum