Need some help with centering the layers. Layers in Dreamweaver CS3 are now called AP-DIVs. I need to know how to center the layer for example:
#apDiv13 {
position:absolute;
width:200px;
height:115px;
z-index:14;
left: 50%;
top: 169px;
margin-left: -300px; }
That is one layer. I need to position it in the center for all browsers and all resolutions.
Dreamweaver Layer Center Help
Started by N-sane Noob, Dec 24 2007 12:56 PM
1 reply to this topic
#1
Posted 24 December 2007 - 12:56 PM
#2
Posted 26 December 2007 - 09:52 PM
N-sane Noob, on Dec 24 2007, 12:56 PM, said:
Need some help with centering the layers. Layers in Dreamweaver CS3 are now called AP-DIVs. I need to know how to center the layer for example:
#apDiv13 {
position:absolute;
width:200px;
height:115px;
z-index:14;
left: 50%;
top: 169px;
margin-left: -300px; }
That is one layer. I need to position it in the center for all browsers and all resolutions.
#apDiv13 {
position:absolute;
width:200px;
height:115px;
z-index:14;
left: 50%;
top: 169px;
margin-left: -300px; }
That is one layer. I need to position it in the center for all browsers and all resolutions.
Add in ' margin:0 auto; ' ?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
