Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2005
    Location
    Willmar MN
    Posts
    3
    Thanks
    1
    Thanked 0 Times in 0 Posts

    iframe resize manually

    I have enough space to resize a small iframe and need to set it so that it is
    only one size with no scroll bar. What is the code to set the iframe to a
    specific size.
    I would like to do this with out javascripting it but if thats the only way then
    I will post something in that section later.

    Page example is here

  • #2
    Senior Coder
    Join Date
    Aug 2002
    Location
    UK
    Posts
    2,789
    Thanks
    2
    Thanked 14 Times in 14 Posts
    Please try the following


    PHP Code:
    <iframe src="page1.htm" width="400pxs" height="200px" scrolling="no"></iframe
    You can also add

    frameborder="no"

    if the border is not required
    The silent one.

    The most dangerous thing in the world is an idea.
    The most dangerous person in the world is the one with an idea.


  •  

    Posting Permissions

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