View Full Version : How to centre page built with layers?
11-03-2005, 11:11 PM
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-03-2005, 11:14 PM
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-03-2005, 11:31 PM
Nice One Dreamdigital.
Glad to see there is some smart people out there.
Cheers for that.
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.