View Full Version : question regarding layers

01-13-2005, 03:06 AM
Hi everybody new member here. The design that i'm using requires me to use a layer to solve a problem. With this said everything is working just fine. The only question i have is if there is a way to center a layer without using a table. I just want the layer to appear in the center of the website regardless of screen res. If anyone knows some shit to help feel free to let me in on some secrets.


01-13-2005, 02:04 PM
Not sure how to do this through Dreamweavers interface, as I code this stuff by hand.

I have an example of how to center a block element here:
Center a block (layer) element with CSS ('http://www.domedia.org/oveklykken/css-centering-div.php')

Basically it means adding margin-left: auto and margin-right: auto to your layer.