right. .centre is doing what it should be and is centred on the page.
what was the expected outcome of this?
Code:
<div class="centre">
<div id="Layer1" style="position:absolute; left:22px; top:20px; width:613px; height:59px; z-index:2">
<div id="Layer24" style="position:absolute; left:717px; top:11px; width:0px; height:2px; z-index:1">hello</div>
</div>
?
do you have a layout you're rying to achieve?
could I recommend closing dreamweaver, opening a text editor, and learning css?