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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Netscape Centering Layers Vertically

    I'm having a problem getting my layers centered vertically within the browser window. What I have written works in Explorer, however it is not working in in Nestcape & Opera. Your suggestions will be well appreiciated.

    Best regards!

    www.timelinesantiques.com

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    read this page it may get you off in the right track, you may have to mess with the left margin a bit to get it right

  • #3
    New to the CF scene
    Join Date
    Mar 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Have you checked out my code? I thought I did what you said already. It works in IE. What am I missing?

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    it should be 50% for the top, and you have 45
    Code:
    #parent {
     	position: absolute;
     	left: 50%;
     	top: 50%;
     	margin-top: -137px; 
     	margin-left: -264px;
    	background-color:#FFFFFF 
    }


  •  

    Posting Permissions

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