I'm having some difficulty aligning two divs in the center of a page. Instead, it remains left. I've combed through this site, and others, and have tried several of the suggestions. I am thinking maybe I've bungled it by taking from several different examples and putting it to one, and something is negating the other? The divs just aren't aligning center on the page. I have the masking gif in one div, and the writing in another div, and placed those two divs within a container.
body {
background-color: #000;
color: white;
font-family: "Cutive One", monospace;
font-size: 13px;
text-align: justify;
line-height: 1.5;
}
.container {
margin: 70px;
width: auto;
}
.one {
width: 35%;
max-width: 300px;
min-width: 300px;
padding: 5px;
text-align: center;
float: left;
}
.two {
width: 35%;
padding: 5%;
max-width: 300px;
min-width: 300px;
float: left;
background: black;
font-family: "Cutive One", monospace;
font-size: 13px;
text-align: justify;
line-height: 1.5;
}
.gif {
background: url("http://78.media.tumblr.com/072a9aee9e56415e20ffd06c3260c49d/tumblr_n85ga7OASY1qmxnvuo2_500.gif") repeat;
background-position: 10px;
-webkit-background-clip: text;
color: transparent;
font-size: 200px;
font-family: Fjalla One;
font-weight: bold;
text-align: center;
letter-spacing: 3;
background-position-x: 50%;
background-position-y: 50%;
}
<div class="container">
<div class="one">
<div class="gif">TXT</div>
</div>
<div class="two">
<h3>Test //</h3>
<ul>
<li>Test</li>
<li>Test</li>
<li>Test</li>
</ul>
</div>
</div>