SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict dr_dumb99's Avatar
    Join Date
    Sep 2004
    Location
    Pakistan
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How to make login box horizontally and vertically centered

    Hi!
    How can I make centered [vertically and horizontally] a login box on a web page by using CSS. I have made my webpage width 100% [fit to screen].

    Thanks in advance
    Last edited by dr_dumb99; Jun 8, 2007 at 09:38.

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    39,777
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    HI,

    The faq covers vertical centering

    There are a couple of more advanced examples here.

    http://www.pmob.co.uk/pob/hoz-vert-center2.htm
    http://www.pmob.co.uk/pob/vertical-center1.htm

  3. #3
    SitePoint Addict dr_dumb99's Avatar
    Join Date
    Sep 2004
    Location
    Pakistan
    Posts
    304
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Paul Thanks for your help...


Bookmarks

Posting Permissions

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