Hi, I am trying to position a logo centered and on top of #checkered and #footer. I have 2 div's at the bottom.
#checkered {height: 35px} #footer {height: 50px}
My entire site is inside a container.
#container {
width: 780px;
height: auto;
margin: 0px auto;
background-color: #C1C394;
color: #000000;
border: #000000 1px solid;
overflow: hidden;
}
Here is the code for the absolute positioned logo:
.logo {
position: absolute; bottom: 15px; right: 350px;
}
<img class="logo" alt="Logo" "img src="logo.png" width="300" height="118" />
The problem I'm having is the object is moving around depending on how you view it. If the window isn't maximized it moves to a different spot. If I have different toolbars open it moves. Basically any change in the document window size and the position doesn't stay where i want it. If I grab the window and drag it in so the page is very thin.. the image stays cenetered in the window... instead of the #container Is there a way to fix this?
Thanks,
braves07
#checkered {height: 35px} #footer {height: 50px}
My entire site is inside a container.
#container {
width: 780px;
height: auto;
margin: 0px auto;
background-color: #C1C394;
color: #000000;
border: #000000 1px solid;
overflow: hidden;
}
Here is the code for the absolute positioned logo:
.logo {
position: absolute; bottom: 15px; right: 350px;
}
<img class="logo" alt="Logo" "img src="logo.png" width="300" height="118" />
The problem I'm having is the object is moving around depending on how you view it. If the window isn't maximized it moves to a different spot. If I have different toolbars open it moves. Basically any change in the document window size and the position doesn't stay where i want it. If I grab the window and drag it in so the page is very thin.. the image stays cenetered in the window... instead of the #container Is there a way to fix this?
Thanks,
braves07