CSS Error

Status
Not open for further replies.

Integers

Soon to be Developer!
Sep 22, 2012
119
7

Whenever I try and move the users_online div down it takes the whole thing down with it

CSS
Code:
wrapper {
    width: 500px;
}
body {
background: #1f1f1f;
}
hr {
width:143px;
background: transparent;
color: transparent;
border-left: none;
border-right: none;
border-top: none;
border-bottom: 1px dashed #e1e1e1;
}
.title {
    font-size:25px;
    font-family:Arial,Helvetica,sans-serif;
}
#middle {
    padding-left: 5px;
    font-size: 10px;
    font-family:Arial,Helvetica,sans-serif;
    border: solid 1px #f1f1f1;
    background-color:#fff;
    width:150px;
    border-radius:5px;
    margin-right: auto;
    margin-left: auto;
}
#users_online {
    margin-left:auto;
    margin-right:500px;
    margin-top:50px;
    padding-left: 5px;
    width:150px;
    border-radius: 5px;
    background-color:#fff;
    font-family:Arial,Helvetica,sans-serif;
    font-size:10px;
}
#footer {
    padding-left: 5px;
    border-radius:5px;
    width:165px;
    background-color:#fff;
    font-family:Arial,Helvetica,sans-serif;
    font-size:10px;
    margin-left:auto;
    margin-right:auto;
}

HTML:
Code:
<html>
<head>
    <link rel="stylesheet" type="text/css" href="../styles/Style.css">
<title> James Layout </title>
</head>
<body>
    <div id="wrapper">
<!-- Login box -->
    <div id="middle">
        <center class="title"><b>LOGIN</b></center>
<hr />
<FORM action="/verify.php" method="post">
<label>
    USERNAME:<input type="username" id="username" />
</label><br /><br />
<label>
    PASSWORD:<input type="password" id="password" />
</label><br /><br />
<center><input type="submit" value="Submit"></center>
</form>
<hr />
<center><h4>Click here to <a href="/register.php">register!</a></h4></center>
</div>
<!-- Login box -->
<br />
<div id="footer">
<!-- Do not delete this footer -->
    Made and Coded by <a href="https://www.facebook.com/pages/James-coding/355420854543612"> James Nixon </a>
<!-- Do not delete this footer -->
</div>
</div>
</body>
 
Status
Not open for further replies.

Users who are viewing this thread

Top