A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [CSS] How do I make my content fill the page

  1. #1
    Senior Member ihoss.com's Avatar
    Join Date
    Oct 2004
    Location
    Norway
    Posts
    581

    [CSS] How do I make my content fill the page

    I have searched for this for ages, and I can't find the answer. All I want is content that fills the entire screen. I have never figured it out and I can't find the answer anywhere.

    Now I'm working on this project: linky. In it I have an iframe that should fill the entire screen. But if I set its height to 100% it will fill more than the screen. If I don't enter any width it will end up like it is now.

    I'm sorry if this is in the wrong forum, its just that I know there are many css experts here, and I just want the answer now!

  2. #2
    2008 Man of the Year JWin's Avatar
    Join Date
    Aug 2005
    Location
    here
    Posts
    768
    set it to 99%

    SAMedia Blog (general bs) :: jwinmedia (my music site)
    "Think of an advertisement where the product you're marketing is Jesus!"
    -From a work for hire ad

  3. #3
    Moonlight shadow asheep_uk's Avatar
    Join Date
    Dec 2001
    Location
    London
    Posts
    2,010
    Iframes aren't very friendly. Use CSS instead of an iframe.

  4. #4
    Quote Originally Posted by ihoss.com
    Now I'm working on this project: linky. In it I have an iframe that should fill the entire screen. But if I set its height to 100% it will fill more than the screen. If I don't enter any width it will end up like it is now.
    Well. I'm having problems seeing your problem

    But, if your problem is that setting it to 100% and then scroll bars show up (with very little room to move it about) then there is something you can do.

    Change the overflow attribute of the div (or it's container) to hidden.

    If that doesn't work, give me more info (what's being changed to 100% and what happens exactly in the different situations), I've run into this many times before.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center