<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Elena Brown | Graphic Designer</title>
<link rel="stylesheet" href="CSS/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Quicksand' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Montserrat' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="CSS/main.css">
<link rel="stylesheet" href="CSS/responsive.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Elena Brown</h1>
<h2>Graphic Designer</h2>
</a>
<nav>
<ul>
<li><a href="about.html"class="selected">About</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<ul id="gallery">
<li id="pic1">
<a href="img/Elena.jpg">
<img src="img/Elena.jpg" width="500" height="400" alt="">
<p> This is me </p>
</a>
</li>
<li id="pic2">
<a href="img/Creativity.jpg">
<img src="img/Creativity.jpg"width="500" height="400" alt="">
<p> Exploring creativity in design </p>
</a>
</li>
<li id="pic3">
<a href="img/Typography.jpg">
<img src="img/Typography.jpg"width="500" height="400" alt="">
<p> Playing with typography</p>
</a>
</li>
<li id="pic4">
<a href="img/Colors.jpg">
<img src="img/Colors.jpg"width="500" height="400" alt="">
<p>Embracing the world of colors</p>
</a>
</li>
</ul>
</section>
<footer>
<div id="mus">
<embed src="Neo.mp3" loop="true" autostart="true" height="55mm">
</div>
<div id="logo">
<a href="https://www.instagram.com/elena.brown.designs">
<img src="img/instagram.png" alt="Instagram Logo" class="icon">
</a>
<a href="https://twitter.com/ElenaBrownDes">
<img src="img/twitter.png" alt="Twitter Logo" class="icon">
</a>
</div>
<p>Elena Brown</p>
<p>All Rights Reserved.</p>
</footer>
</div>
</body>
</html>
My Custom CSS Styles
a {
text-decoration: none;
}
#wrapper {
max-width: 940px;
margin: 0 auto;
padding: 0 5%;
}
#logo {
text-align: center;
margin: 0;
}
h1 {
margin: 0;
padding-top: 4mm;
font-size: 2em;
font-family: 'Montserrat', sans-serif;
font-weight: normal;
line-height: 0.8em;
}
h2 {
font-family: 'Quicksand', sans-serif;
font-size: 1.5em;
margin: -5px 0 0;
font-weight: normal;
}
body{
font-family: 'Quicksand', sans-serif;
}
a {
color: #FF5733;
}
header{
background: #FF5733;
border-color:#DB893D;
float: left;
margin: 0;
padding: 5px 0 0 0;
width: 100%;
}
nav{
background: #DB893D;
text-align: center;
margin: 20px 0 0;
}
nav a, nav a:visited {
color: #fff;
}
nav ul{
list-style: none;
margin: 0 10px;
padding: 0;
}
nav a{
font-weight: 800;
padding: 15px 10px;
}
h1, h2{
color: #fff;
}
nav a.selected , nav a:hover {
color: #B35834;
}
footer{
font-size: 1em;
text-align: center;
clear: both;
padding-top: 20px;
color: #ccc;
line-height: 0.8em;
background: black;
margin: 0;
}
img{
max-width: 100%;
}
#gallery{
margin: 0;
padding: 0;
list-style: none;
}
#gallery li{
float: left;
width: 45%;
margin: 2.5%;
background-color: #f5f5f5;
color: #bdc3c7;
}
#gallery li a p{
margin: 0;
padding: 0;
font-size: 1.5em;
color: #bdc3c7;
}
.icon{
width: 40px;
height: 40px;
margin: 5mm 5px;
}
body{
background: lavender;
margin: 0;
color: #333;
}
Can someone help me troubleshoot why the footer is not taking up the full width of the webpage? I've tried setting the max-width and width to 100%, but it's not working. Any suggestions on how to make the footer span the entire width of the page?