+ Reply to Thread
Results 1 to 5 of 5

Thread: Full screen html pages on all screen sizes.

  1. #1
    AZOVGY is offline x10Hosting Member AZOVGY is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    42

    Full screen html pages on all screen sizes.

    I am wondering if I can make my website utilize the full screen area on larger screen sizes, my website is at http://ovgyclan.com. I have seen other sites that do but was wondering if I can just make a simple change to mine to enable it to do it or would I have to start from scratch. Currently at 1024 x 768 it seems fine but anything above that and the content is shifted to the side. I used a template to set this site up as I am new to web design (only a few months). Any help would be greatly appreciated.

  2. #2
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: Full screen html pages on all screen sizes.

    I think there is a resize script I have used it before but I can't seem to find it right now.

  3. #3
    DeadNalo's Avatar
    DeadNalo is offline x10Hosting Member DeadNalo is an unknown quantity at this point
    Join Date
    Aug 2007
    Posts
    13

    Re: Full screen html pages on all screen sizes.

    you only need to use CSS.

    example:
    Code:
    body
    {
       width: 100%;
       margin: auto;
       margin-top: 0px;
       margin-bottom: 0px;
       font-family:Verdana,Arial,Helvetica,sans-serif;
       font-size:8pt;
    }
    /* Header */
    #header
    {
       width: 100%;
       height: 180px;
       background-image: url("http://forums.x10hosting.com/images/header_2.jpg");
       background-repeat: repeat;
       margin-bottom: 0px;
    }
    /* Footer */
    #footer
    {
      width: 100%;
      height: 60px;
      background-image: url(images/footer_2.jpg);
      background-repeat: repeat;
    }
    Normaly the width is something like this 800px; or 1024px; and your website will be in 800 or 1024, like you already have.

    But when you use % in body
    Like this:
    Code:
       width: 100%;
    Your website will be in full view mode for everybody, even if you have 800 X 600 or 1024 x 768.

    You can do the same thing with the header (top) and the footer (botom).

    I hope that will help you.

    before you ask, I know my english is not very good because I'm a french guy... XD
    Last edited by DeadNalo; 10-21-2007 at 12:24 AM.

  4. #4
    mattura's Avatar
    mattura is offline x10 Elder mattura is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    563

    Re: Full screen html pages on all screen sizes.

    Yep fluid site designs are best for this reason.
    Try to have as many '%' as possible, as few 'px' as possible in your widths (and heights) except with images of fixed dimensions

  5. #5
    unpixelatedgamers's Avatar
    unpixelatedgamers is offline x10 Lieutenant unpixelatedgamers is an unknown quantity at this point
    Join Date
    Sep 2005
    Location
    Nottingham (England)
    Posts
    337

    Re: Full screen html pages on all screen sizes.

    As said, use percentages instead of fixed pixel widths in your style (CSS).
    Ignorance is the true enemy of all things.

+ Reply to Thread

Similar Threads

  1. Hybrid's HTML Lessons
    By Hybrid in forum Tutorials
    Replies: 18
    Last Post: 11-28-2009, 02:12 PM
  2. My pages in php and html don`t work
    By splinter in forum Free Hosting
    Replies: 6
    Last Post: 05-09-2006, 04:34 PM
  3. [IPB] Contiguous Board Index
    By phenetic in forum Tutorials
    Replies: 5
    Last Post: 09-18-2005, 10:31 AM
  4. What is XML!
    By wizeman in forum Tutorials
    Replies: 6
    Last Post: 08-27-2005, 12:05 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers