inline frame and sizes

Discussion in 'HTML' started by Sonnich Jensen, Jun 12, 2007.

  1. Hi all!

    I have:

    echo "<iframe name=\"whatever\" src=\"".GetURL("somepage.php" )."\"
    width=\"600\" height=\"400\" scrolling=\"no\" frameborder=0></
    IFRAME>";

    The point: I have a fixed height and width. Is there a way to set it
    to max. E.g. for frames by setting withd=* it will use the size, but
    not for inline frames?

    Any ideas anyone

    Thanks
     
    Sonnich Jensen, Jun 12, 2007
    #1
    1. Advertising

  2. Sonnich Jensen

    Ben C Guest

    On 2007-06-12, Sonnich Jensen <> wrote:
    > Hi all!
    >
    > I have:
    >
    > echo "<iframe name=\"whatever\" src=\"".GetURL("somepage.php" )."\"
    > width=\"600\" height=\"400\" scrolling=\"no\" frameborder=0></
    > IFRAME>";
    >
    > The point: I have a fixed height and width. Is there a way to set it
    > to max. E.g. for frames by setting withd=* it will use the size, but
    > not for inline frames?


    <iframe style="width: 100%" ... >
     
    Ben C, Jun 12, 2007
    #2
    1. Advertising

  3. Sonnich Jensen

    jodleren Guest

    On Jun 12, 9:08 pm, Ben C <> wrote:
    > On 2007-06-12,SonnichJensen <> wrote:
    > > echo "<iframe name=\"whatever\" src=\"".GetURL("somepage.php" )."\"
    > > width=\"600\" height=\"400\" scrolling=\"no\" frameborder=0></
    > > IFRAME>";
    > > The point: I have a fixed height and width. Is there a way to set it
    > > to max. E.g. for frames by setting withd=* it will use the size, but
    > > not for inline frames?

    > <iframe style="width: 100%" ... >


    Thanks, that was the help i needed
     
    jodleren, Jun 21, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Abhi
    Replies:
    2
    Views:
    764
    E. Robert Tisdale
    Jul 3, 2003
  2. Alvin
    Replies:
    7
    Views:
    506
    E. Robert Tisdale
    May 6, 2005
  3. Dan Polansky
    Replies:
    3
    Views:
    851
    Larry Barowski
    Feb 12, 2007
  4. Sean
    Replies:
    4
    Views:
    693
    Rolf Magnus
    Apr 30, 2006
  5. Rahul
    Replies:
    3
    Views:
    479
    James Kanze
    Feb 28, 2008
Loading...

Share This Page