I am facing an issue that I believe is a result of something silly I may have done, but I can't seem to pinpoint it. Here's a demonstration page illustrating my problem. Below is the source code for the page:
<html>
<head>
<title>demo</title>
<style type='text/css'>
body{
margin: 0px;
padding: 0px;
}
#container{
height: 100%;
background-color: black;
}
#logo{
margin: 25px auto auto auto;
width: 360px;
height: 45px;
background-color: goldenrod;
}
</style>
</head>
<body>
<div id='container'>
<div id='logo'>
<p>logotext.</p>
</div>
</div>
</body>
</html>
The issue arises as the top value of margin is adjusted, causing both #logo and #container to shift down the page. Ideally, #container should remain fixed while #logo moves downward on the page.