SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Addict fabrizio's Avatar
    Join Date
    Oct 2002
    Location
    California
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problems with IFRAME

    Hello here,
    I am trying to have an IFRAME inside a table displaying its contents entirely without the use of the scrolling bars. Here is an example I am talking about:

    http://www.musicianspage.com/test.html


    I set the height of the IFRAME CSS definition to 100% but doesn't seem to help. Any idea? How to accomplish that?

    Thank you in advance for any thoughts.

    Best,
    Fabrizio
    Virtual Sheet Music®, Inc.
    http://www.virtualsheetmusic.com
    Musicians Page
    http://www.musicianspage.com

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,338
    Mentioned
    465 Post(s)
    Tagged
    8 Thread(s)
    You are probably best off specifying a pixel height for the iframe, such as 1200px (tinker to get it just right).

  3. #3
    SitePoint Member hcamelion's Avatar
    Join Date
    Jul 2005
    Location
    Albany, New York
    Posts
    12
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah you should set it to an actual pixel height and width. I remember a while back I wanted to have it set by how big the actual content was but I never found a way to do that, and I think it is impossible for the first page to know how big the framed page is.

  4. #4
    SitePoint Addict fabrizio's Avatar
    Join Date
    Oct 2002
    Location
    California
    Posts
    365
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I see, that's my problem, I cannot know how long will be the content, the iframe should really be dynamic!

    Anyway, thank you for your thoughts, I hope somebody else can come with some further ideas.

    Best,
    Fabrizio.
    Virtual Sheet Music®, Inc.
    http://www.virtualsheetmusic.com
    Musicians Page
    http://www.musicianspage.com


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
  •