View Full Version : How to centre page built with layers?

11-04-2005, 12:11 AM
Hi all

Built a web page in Dreamweaver MX2004 using layers and CSS.

Has anybody got an idea how to centre a page built in layers?


11-04-2005, 12:14 AM
you can create one "master" layer that is position:absolute and visible. Put all the other layers nested within this one. The master layer should be left:50% and top:0px then your layout layers on the left will need to have a negative number for the left: and the ones on the right will be 1/2 as large but positive. Make sense?


11-04-2005, 12:31 AM
Nice One Dreamdigital.

Glad to see there is some smart people out there.

Cheers for that.

Will try.