1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

CSS Help

Discussion in 'Web Design & Development' started by bcap, Jul 19, 2006.

Thread Status:
Not open for further replies.
  1. bcap

    bcap Thread Starter

    Joined:
    Sep 15, 2005
    Messages:
    164
    Hello guys

    I have a site designed how I want it ... using CSS.

    I formatted boxes (inner, outer, frames, etc) for all windows/etc using CSS - specifying heights and widths.

    I have an iframe in the middle of it all ... so it goes like this:

    css box 1
    css box 2
    header picture
    menu box (using css)
    iframe

    Now I want the height of the page to be the size of the html page that is opened in the iframe. For example I don't want scrollling in the iframe, but I need to set the size of css box1 and box2 before the website runs, so how can I do this?

    Is there a better way to do it?

    Thanks!

    Bryan
     
  2. namenotfound

    namenotfound

    Joined:
    Apr 30, 2005
    Messages:
    3,012
    Not sure if this will work, but try setting the height of the iframe to 100%
     
  3. covert215

    covert215 Banned

    Joined:
    Apr 22, 2006
    Messages:
    2,595
    Relative sizing is definitely your best option. However, if the whole page is fixed height, just calculate the proper height of the section.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/484673

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice