what I want to to is align all my content in the center of the screen not really sure how to do that.
thanks in advance
Anywho so I have some real basic code::
<html>
<head>
<title>Test</title>
<style type="text/css">
div.content
{
width:800px
;
margin:0px
}
div.left
{
width:200px
;
float:left
;
padding:1em;
}
div.center
{
width:200px
;
margin-left:200px
;
padding:1em;
}
h1.sand
{
background-image:url('img/testbg.jpg')
;
width: auto
;
text-align: center
}
</style>
</head>
<body>
<div class="content">
<div class="left">
<h1 class="sand">Hello</h1>
this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't
it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this
is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be
cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? </div>
<div class="center">
<h1 class="sand">Hello</h1>
this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't
it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this
is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be
cool if this works eh? this is some test text, wouldn't it be cool if this works eh? this is some test text, wouldn't it be cool if this works eh?
</div>
</div>
</body>
</html>


