Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to centre page built with layers?

    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?

    Thanks

  • #2
    Regular Coder
    Join Date
    Sep 2002
    Location
    Saskatoon SK Canada
    Posts
    174
    Thanks
    2
    Thanked 0 Times in 0 Posts
    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?

    CP
    Colin Puttick

  • #3
    New to the CF scene
    Join Date
    Oct 2004
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nice One Dreamdigital.

    Glad to see there is some smart people out there.

    Cheers for that.

    Will try.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •