Not sure why text-align: justify does not work?
<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>test</title>
<style>
ul,li,h1,h2,h3,h4,h5,span,body {margin:0;padding:0;}
body {font-family:tahoma;text-align:center;}
#container {width:600px;margin:0 auto;border:10px solid black;padding: 5px;text-align:left;}
#header h1 {text-align:left;}
#content {text-align:center;}
#content2 {text-align:justify;}
#footer h1 {text-align:right;}
</style>
</head>
<body>
<div id="container">
<div id="header"><h1>testing align left</h1></div>
<div id="content"><h1>testing align center</h1></div>
<div id="content2"><h1>testing align justify</h1></div>
<div id="footer"><h1>testing align right</h1></div>
</div></body></html>
<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>test</title>
<style>
ul,li,h1,h2,h3,h4,h5,span,body {margin:0;padding:0;}
body {font-family:tahoma;text-align:center;}
#container {width:600px;margin:0 auto;border:10px solid black;padding: 5px;text-align:left;}
#header h1 {text-align:left;}
#content {text-align:center;}
#content2 {text-align:justify;}
#footer h1 {text-align:right;}
</style>
</head>
<body>
<div id="container">
<div id="header"><h1>testing align left</h1></div>
<div id="content"><h1>testing align center</h1></div>
<div id="content2"><h1>testing align justify</h1></div>
<div id="footer"><h1>testing align right</h1></div>
</div></body></html>