Okay so im working on the navbar of this site and I need to move the link text down to the center of the navbar. I achieved this in IE but FireFox doesn't move it down. Here is my CSS and HTML code and screen shots of IE and FF:
IMages
the way i want it(IE)
http://img246.imageshack.us/img246/6318/iempge9.jpg
the way i dont want it (FF)
http://img225.imageshack.us/img225/1231/ffmpec8.jpg
Code:
body {
background-image: url(sliced/background.jpg);
background-repeat: repeat-x;
background-color: black;
color: #ffffff;
}
#Header {
background-image: url(sliced/header.jpg);
background-repeat: no-repeat;
position: absolute;
width: 807px;
height:313px;
align: top;
margin-left: 535px;
}
#navbar {
background-image: url(sliced/navbar.jpg);
position: absolute;
width: 807px;
height: 51px;
margin-top: 305px;
margin-left: 535px;
}
#navbar li {
list-style:none;
display:inline;
}
#navbar a {
width: 150px;
color: black;
text-decoration:none;
font-size: 20px;
text-align: center;
margin-left: 40px;
margin-top: 15px;
}
#navbar a:hover {
color:#4e0606;
}
#content {
background-color: black;
position: absolute;
width: 807px;
height: 100%;
margin-top: 356;
margin-left: 535px;
}
#login {
border: solid;
border-width: thin;
border-color: grey;
border-height: 100%;
height:100%;
float: left;
background-color: black;
margin-left: 0px;
margin-top: 0px;
width: 250px;
}
#signup {
position: absolute;
background-color: red;
width: 600px;
}
#forms {
margin-left: 100px;
}
label {
position : relative;
width : 15em;
display : block;
margin : .5em .5em;
font-weight: bold;
}
label.button
{
position: relative;
display: block;
margin: .9em -5.5em;
}
label.newsletter
{posistion: relative;
margin: 2px;
font-size: 12px;
}
label input {
position : absolute;
left: 90px;
top : 0px;
width : 10em;
}
label input.1 {
position : absolute;
left: 90px;
top : 0px;
width : 15em;
}
.submit {
margin-left: 100px;
}
HTML:
<div id="content">
<div id="login">
<form name ="login" method="post" action="login.php">
<label>Log In</label>
<label>Email: <input type="text" name="email" /> </label>
<label>Password: <input type="password" name="password"/></label>
<label class="button"><input type="submit" name="submit" value="Submit"></label><br>
</form>
<label class="newsletter"><a href="form.html">Sign Up To Recieve Our Newsletter</a></label>
</div>
band info here
</div>
the way i want it(IE)
http://img246.imageshack.us/img246/6318/iempge9.jpg
the way i dont want it (FF)
http://img225.imageshack.us/img225/1231/ffmpec8.jpg