Hello, I'm having trouble centering my text within a div and fitting three divs inside my content area. Here is the code snippet:
HTML
<div id="content">
<div class="latest">
<p>Gentlemen, these are my latest works</p>
</div>
<div id="works">
<div class="one">
<a href="myworks.html" class="title">Lineage 3 Online</a>
<div class="prev1"></div>
</div>
<div class="two">
<a href="myworks.html" class="title">Lineage 3 Online</a>
<div class="prev2"></div>
</div>
<div class="three">
<a href="myworks.html" class="title">Lineage 3 Online</a>
<div class="prev2"></div>
</div>
</div>
</div>
CSS
.content {
width: 1000px;
margin-left: auto;
margin-right: auto;
}
.latest {
text-align: center;
font-family: "Open Sans", Helvetica, sans-serif;
color: #777;
text-transform: uppercase;
letter-spacing: 5px;
font-weight: bold;
font-size: 18px;
padding-top: 25px;
padding-bottom: 5px;
border-bottom: 2px solid #DADADA;
}
#works {
margin-top: 8px;
border-top: 2px solid #DADADA;
}
/* Styles for div.one, div.two, div.three, a.title, and div.prev1 go here */
...
I'm still learning HTML5 and CSS, so apologies if this question seems basic.