Thanks for the replies, but it's not working yet. I've been screwing around with the code.. a lot xD.
It has something to do with the height property I put into .menualign ul {}. When I remove that, it doesn't show the background, but it does position the form nicely behind the menu.
(This is all in FF)
.menualign ul {
margin: 0px;
padding: 0px;
list-style: none;
text-align: center;
height: 30px;
background-image: url(../images/bar_zonder.png);
background-repeat: repeat-x;
}
.menualign ul li a {
text-decoration: none;
display: block;
width: 150px;
height: 25px;
margin: 0px;
padding: 0px;
float: left;
color: #C7F4FD;
}
.menualign ul li a:hover {
background-image: url(../images/bar_met.png);
font-weight: bold;
}
.menualign form {
margin: 0px;
padding: 0px;
}
<div class="menualign">
<ul class="menu">
<li class="link"><a href="<?php echo $home_dir; ?>index.php" title="Home">Home</a></li>
<li class="link"><a href="<?php echo $members_dir; ?>roster.php" title="Roster">Roster</a></li>
<li class="link"><a href="<?php echo $home_dir; ?>constitution.php" title="Constitution">Constitution</a></li>
<?php if(!isset($_SESSION['access'])){ ?>
<li class="link"><a href="<?php echo $members_dir; ?>register.php" title="Register">Register</a></li>
<?php } else{ ?>
<li class="link"><a href="<?php echo $members_dir; ?>update_profile.php" title="Update your profile">My Profile!</a></li>
<li class="link"><a href="<?php echo $members_dir; ?>logout.php" title="Logout">Log out</a></li>
<?php } if(isset($_SESSION['access']) && $_SESSION['access'] > 1){ ?>
<li class="link" style="list-style: none; list-style-image: none; text-align: left; font-weight: bold; text-decoration: underline;">Admin</li>
<li class="link"><a href="<?php echo $admin_dir; ?>update_profile.php" title="Update a profile">Members</a></li>
<?php } ?>
</ul>
<form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post" class="loginform">
<input type="text" value="User" name="username" id="username" size="10" onfocus="this.value=''" />
<input type="password" value="Password" name="password" id="password" size="10" onfocus="this.value=''" />
<input type="submit" name="login" id="login" value="Login" />
</form>
</div>