|
First off it can't be done in layout mode. You will need to enter the second
line in Code View. The line creates a box and positions it relative to the next
layer. You can change the width to fit your layout.
<div align="center"> <!-- Centers
the page-->
<div style="position:relative;width:800px;"> <!--
position:relative creates the magic-->
<!-- All the layers / <div> tags you want
to center on the page go here-->
</div>
</div>
I also found out that using CCS to control the Dvi tag maybe the better way
to go.
Read
this pdf file.
However in the end, you will need to delete the "style="position:absolute;"
code from the Div tag that you create to center the page. This will be the
one with
the
ID
you labeled "container". Dreamweaver by default places this code in the tag
that
stops the layer from centering.
|