how to align the page according to the viewer's resolution

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anusha77
    New Member
    • Oct 2007
    • 7

    how to align the page according to the viewer's resolution

    hi can you please tell me how to align a webpage according to the viewer's resolutions. tks
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    html/css cannot do this, unless you mean centering the page according to the browser size.

    Comment

    • anusha77
      New Member
      • Oct 2007
      • 7

      #3
      Originally posted by drhowarddrfine
      html/css cannot do this, unless you mean centering the page according to the browser size.
      yes centering the page according to the brower size, but how do i do it???

      Comment

      • drhowarddrfine
        Recognized Expert Expert
        • Sep 2006
        • 7434

        #4
        Horizontally is easy with CSS in most cases. To the outer most container:
        #container{
        margin:0 auto;
        }

        Vertical centering is more complicated.

        Comment

        Working...