SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member jitu78's Avatar
    Join Date
    Aug 2006
    Posts
    23
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Vertical alignment on large resolution

    Hi All,

    How can I align table/DIV in middle on large resolutions?

    Just go to this link, my portfolio

    And this on large resolution, it is coming on top of the page.

    I want to align page content to middle of the browser height.

    Thanks in advance
    Globtier Solutions
    Outsource IT Smartly

  2. #2
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  3. #3
    SitePoint Zealot
    Join Date
    May 2006
    Posts
    133
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    to align div style="vertical-align:middle;". You can also align table using this or use valign="middle;"

  4. #4
    SitePoint Wizard bronze trophy Tyssen's Avatar
    Join Date
    Oct 2005
    Location
    Brisbane, QLD
    Posts
    4,067
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by aryandelhi
    to align div style="vertical-align:middle;"
    vertical-align only applies to inline elements and to table cells. It won't align a layout to the middle of the window or block level elements within other block level elements.


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
  •