spadez
01-07-2010, 12:40 PM
Hi,
Im trying to center something on my website. Im trying to move the black rectangle at the bottom of the page here to sit in the middle:
http://www.zombiemod.com/rm/nina2/main.php?g2_itemId=13
------------------------------------------------------
Ive tried the techniques on this page:
http://www.w3.org/Style/Examples/007/center
------------------------------------------------------
Here is my CSS:
#thumbs-container {
position: relative; /* Opera */
width: 100%;
margin: -110px auto 0;
padding: 6px 40px;
background-color: #000;
z-index: 100;
margin-left: auto;
margin-right: auto;
}
------------------------------------------------------
Can someone explain where I am going wrong please?
Im trying to center something on my website. Im trying to move the black rectangle at the bottom of the page here to sit in the middle:
http://www.zombiemod.com/rm/nina2/main.php?g2_itemId=13
------------------------------------------------------
Ive tried the techniques on this page:
http://www.w3.org/Style/Examples/007/center
------------------------------------------------------
Here is my CSS:
#thumbs-container {
position: relative; /* Opera */
width: 100%;
margin: -110px auto 0;
padding: 6px 40px;
background-color: #000;
z-index: 100;
margin-left: auto;
margin-right: auto;
}
------------------------------------------------------
Can someone explain where I am going wrong please?