SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2010
    0 Post(s)
    0 Thread(s)

    fixed div centered vertically gets cut off at top

    i have two pages which come very close to what i want

    1) This one (allows position;fixed but cuts opff top and left when window too small)

    2) This one (positition;fixed prevents vertical centering)

    the 1st behaves how i want except when the window gets too small to contain the pic of the tree(the position;fixed one) it gets cut off at the top and the left instead of stopping when it gets to the top and left.

    the 2nd page stops at the top and the left but moves with the page when scrolled. when i apply the fixed position to it does not stayed centered.
    Last edited by HAWK; May 12, 2010 at 10:52.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Hampshire UK
    182 Post(s)
    6 Thread(s)

    I sort of answered the question in your other thread here:

    Please carry on the discussion in that thread.

    Thread Closed.

Tags for this Thread


Posting Permissions

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