SO... I am new to the site and looked around for a bit, forgive me if I didnt find it... but, I have a website that works perfectly fine. I decided that I want to make the site a bit prettier and center the page in all browsers. After a bunch of google, since thats how I learn code, I have come up with this css:
DIV.container{
width:760px;
Height:1100px;
Top: 20px;
margin: auto;
BORDER-RIGHT: Black 3px solid;
BORDER-LEFT: Black 3px solid;
BORDER-TOP: Black 3px solid;
BORDER-BOTTOM: Black 3px solid;
BACKGROUND-COLOR: #e7e3db;
}
But when I am working the html in frontpage (yes I am a code rookie that is hacking the crap out of it) all my locations from the top are in negative pixels. like this:
<div style="position: relative; width: 100px; height: 100px; z-index: 7; left: 40px; top: -1530px" id="layer9">
<img border="0" src="attention.gif" width="114" height="102">
</div>
<div style="position: relative; width: 534px; height: 105px; z-index: 3; left: 180px; top: -1640px" id="layer10">
The resulting page looks fine, but there is a whole bunch of dead space at the bottom of the page. I dont know how to get rid of it. any ideas? Is there any info I may be missing you could use to help me?