This is code that I currently have right now so that I could have text centered in a div box. But there has to be an easier way, can someone show me how?
Code I am using now:
<div id="teampiccontainer" style="width:1000px; height:100px; background-color:#EB6262; margin: 0 auto;">
<div id="text1" style="display:table-cell; vertical-align: middle; width:1000px; height:100px; margin: 0 auto;">
<center>This area will contain the team picture, for now just ignore this text. It will be replaced by a picture once a picture is acquired.</center>
</div>
</div>
Here is the complete code for my website, since I don't have the CSS code here too, of course the nav bar is gonna look weird:
<html>
<head>
<title>Ceracy Games | About Us</title>
<link rel="stylesheet" type="text/css" href="aboutstyle.css"/>
<link rel="stylesheet" type="text/css" href="navigationbar.css" />
</head>
<body>
<div id="navcontainer">
<center><div id="navigationbar" style="width:1000px; margin: 0px 0px" align="left">
<img src="http://i.imgur.com/5NtjVFc.png" style="margin:0px -0px; position:absolute;"/>
<ul style="margin:-8px 0px 0px 0px; height:50px; padding:0; width:1000px; background:linear-gradient(#e41010, #ea7575); padding-top:16px; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px;">
<a href="www.ceracygames.com" style="text-decoration:none; color: white"><li class="navbar">Home</li></a>
<a href="" style="text-decoration:none; color: white"><li class="navbar">News</li></a>
<a href="" style="text-decoration:none; color: white"><li class="navbar">About Us</li></a>
<a href="" style="text-decoration:none; color: white"><li class="navbar">Forums</li></a>
<a href="" style="text-decoration:none; color: white"><li class="navbar">Contact Us</li></a>
</ul>
</div></center>
</div>
<div id="seperate1" style="height:20px; width: 100%;">
</div>
<div id="teampiccontainer" style="width:1000px; height:100px; background-color:#EB6262; margin: 0 auto;">
<div id="text1" style="display:table-cell; vertical-align: middle; width:1000px; height:100px; margin: 0 auto;">
<center>This area will contain the team picture, for now just ignore this text. It will be replaced by a picture once a picture is acquired.</center>
</div>
</div>
</body>
</html>