Welcome to TalkGraphics.com
Results 1 to 10 of 780

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    10

    Default Re: Show us your sites!

    Quote Originally Posted by Soquili View Post
    Some visitors may use standard monitors and others may use widescreen monitors.

    A standard monitor may have 1024x768, 1280x1024, 800x600, or the older 640x480; or some higher resolutions.

    A widescreen monitor can have 1280x768, 1440x900, or higher resolutions.

    A standard 1280x1024 and a widescreen 1280x768 could have the same centering left to right; however, top to bottom would not work for one or the other.
    This really doesn't make sense. The browser places the site in the centre of the open window, regardless of how large the window is re-sized to. This is because the placement is dynamic based on the window width which is constanty recalculated. There must be a way through HTML to dynamically place the site in the centre dynamically regardless of window height. I've seen this done without margins. I'll have to peek into the HTML page code.

    UPDATE: this can be done through CSS code, see this discussion.
    Last edited by Rtruant; 15 July 2009 at 03:51 PM.
    IP

  2. #2
    Join Date
    Nov 2000
    Location
    Red Boiling Springs TN USA
    Posts
    19,208

    Default Re: Show us your sites!

    Quote Originally Posted by Rtruant View Post
    This really doesn't make sense. The browser places the site in the centre of the open window, regardless of how large the window is re-sized to. This is because the placement is dynamic based on the window width which is constanty recalculated. There must be a way through HTML to dynamically place the site in the centre dynamically regardless of window height. I've seen this done without margins. I'll have to peek into the HTML page code.

    UPDATE: this can be done through CSS code, see this discussion.
    Rtruant how would CSS center top to bottom a 1024 high page correctly on a 768 high display? Reduce the size of the page? Squish things together?

    Centering Horizontally is very easy most software creates that automatically for you. Vertical centering is difficult because of numerous variables. Only one of which is the maximum screen height, what happens when the browser is not open in full screen?
    Last edited by Soquili; 15 July 2009 at 05:49 PM.
    Soquili
    a.k.a. Bill Taylor
    Bill is no longer with us. He died on 10 Dec 2012. We remember him always.
    My TG Album
    Last XaReg update
    IP

  3. #3
    Join Date
    Apr 2009
    Posts
    10

    Default Re: Show us your sites!

    Quote Originally Posted by Soquili View Post
    Rtruant how would CSS center top to bottom a 1024 high page correctly on a 768 high display? Reduce the size of the page? Squish things together?

    Centering Horizontally is very easy most software creates that automatically for you. Vertical centering is difficult because of numerous variables. Only one of which is the maximum screen height, what happens when the browser is not open in full screen?
    You would only use this if the page was smaller than most computer displays, 760X700 or smaller.
    IP

 

 

Tags for this Thread

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
  •