SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: iFrame help

  1. #1
    SitePoint Zealot
    Join Date
    Jul 2003
    Location
    Florida
    Posts
    152
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    iFrame help

    Are iFrames not capible of understanding a width="100%" command? I have designed a page that is based on a table with width of 100% and want to put an iFrame in the cell of the table that will contain the main information of the page. Because of that, the iFrame needs to be able to expand depending on the viewers resolution. Is this even possible or should I try something else?

  2. #2
    Is Still Alive silver trophybronze trophy RetroNetro's Avatar
    Join Date
    Jul 2003
    Location
    Texas
    Posts
    6,883
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Hello

    Yes iframes should be able to be set to span 100% within a table.

    Code:
    <iframe src="page.html" name="frame1" scrolling="auto" width="100%" height="100%">frame1</iframe>
    Hope this was helpful in some way.

    Later
    Johnny


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
  •