How do I make page expand when maximized?

Discussion in 'HTML & Website Design' started by indyonline, Oct 15, 2007.

  1. #1
    Hello. I was wondering how to make the pages of my site expand when viewers maximize the page.
     
    indyonline, Oct 15, 2007 IP
  2. le_gber

    le_gber Peon

    Messages:
    28
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    expands in which way - if you are thinking of having the site cover the whole width of the screen, you need to have width="100%" (if in html) or width:100% (if CSS) in either you outmost table or div.
     
    le_gber, Oct 15, 2007 IP
  3. indyonline

    indyonline Prominent Member

    Messages:
    4,626
    Likes Received:
    248
    Best Answers:
    2
    Trophy Points:
    335
    #3
    Thank you!!!
     
    indyonline, Oct 16, 2007 IP
  4. jgjg

    jgjg Peon

    Messages:
    595
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    also you will probably need a background tile for your banner area that repeats so that the banner expands to cover the entire width of the screen.
     
    jgjg, Oct 17, 2007 IP
  5. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Actually, if you're using semantic markup (meaning using the HTML elements in the manner they were originally meant to be used) along with CSS, you won't need to set a width on your outermost DIV container - if you even use one at all, since DIVs (like all other block-level elements) will expand to take up all the space that is available to them.
     
    Dan Schulz, Oct 17, 2007 IP