Jump to content


Dreamweaver Layer Center Help


1 reply to this topic

#1 N-sane Noob

    Noob Leader

  • Publishing Betazoids
  • PipPipPip
  • 873 posts
  • Gender:Male
  • Location:Canada
  • Interests:Taking over stuff

Posted 24 December 2007 - 12:56 PM

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.

#2 JD Fr33l@nc3

    Young Padawan

  • Members
  • Pip
  • 9 posts

Posted 26 December 2007 - 09:52 PM

View PostN-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.

Add in ' margin:0 auto; ' ?





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users