CSSコードに問題があります。Webisteにsrcollbarを含めたくないので、フッターを下部に残しておきます。高さと位置の値に問題があると思いますが、わかりません。誰かが私を助けてくれることを願っています。
HTML
<div class="content">
<nav>
<ul class"nav">
<li><a href="photo.html">Photo</a></li>
<li><a href="video.html">Video</a></li>
<li><a href="gear.html">Gear</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<div class="mainContent">
<article class="article">
<h3>News</h3>
<p>This site is currently under construction. Please revisit soon.</p>
</article>
tsdfsdfsdfsdfsdfsdf</div>
<footer>
© <a href="index.html">MAREYUS PICTURES</a> - all rights reserved </footer>
</div>
CSS
html{
height:100%;
padding:0;
margin:0;
/* overflow-x: hidden;
overflow-y: hidden; */
background: url(../images/Distortion_Symmetry_Object.jpg) no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
body{
height:100%;
padding:0;
margin:0;
}
.content{
position:absolute;
height:100%;
width:100%;
margin:0;
padding:0;
}
nav{
background-color:#000;
margin-top:10px;
height:15px;
padding:10px;
color:#FFF;
}
.mainContent{
position: relative;
height:100%;
background-color:rgba(0,102,204,1);
overflow:hidden;
}
.article{
position:absolute;
right:0;
bottom:0;
width:150px;
height:350px;
background:#333;
color:#FFF;
padding:10px;
text-align:center;
}
footer{
position:absolute;
bottom:0;
width:100%;
background-color:rgba(255,255,255,1);
text-align:center;
}
nav a:active, nav a:hover, nav a:focus nav a:visited{
color: #E58459;
}
ul{
list-style-type: none;
margin: auto;
margin-right:50px;
}
ul a{
padding-right: 32px;
padding-left: 32px;
text-decoration: none;
color:#FFF;
}
li{
float:right;
}
li:nth-child(n+1):before {
content: " // ";
}