I am trying to get a div to position down the page. I also want the div to be center in the page. I for it to center in the page by selecting margin: 0; However, I can’t get the same container div to position down the page. Below is the css. It’s the div named container. Thanks for your help.
body {
background-image: url(images/background.jpg);
background-repeat: repeat;
background-attachment: fixed;
font-family: “Times New Roman”, Times, serif;
font-size: 14pt;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #000;
border-top-width: 400px;
}
.container {
margin:auto;
width: 790px;
height: 650px;
float: none;
top: 25%;
}
.logoholder {
width: 790px;
}
.mainpagephoto {
width: 923px;
padding: 0px;
width: 790px;
}
.navigatestripe {
width: 790px;
font-family: "Times New Roman", Times, serif;
font-size: 18pt;
color: #FFF;
font-weight: normal;
font-variant: normal;
height: 44px;
text-align: center;
font-style: normal;
line-height: normal;
text-transform: none;
vertical-align: middle;
padding-top: 17px;
}
.mainpagetext {
font-family: “Times New Roman”, Times, serif;
font-size: 14pt;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #FFF;
width: 50%;
padding: 9px;
}
.ownerphoto {
float: right;
height: 315px;
width: 243px;
}
.copyrightnotice {
width: 790px;
font-family: “Times New Roman”, Times, serif;
font-size: 10pt;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-align: center;
color: #FFF;
line-height: normal;
text-transform: none;
position: relative;
}
.webdesigncreditfooter {
font-family: “Times New Roman”, Times, serif;
font-size: 12pt;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-align: center;
color: #FFF;
position: relative;
padding: 4px;
}