iframe no scroll bars

5 replies
  • WEB DESIGN
  • |
Anybody know how to make one?

Please don't suggest Googling it, I've been trying for the past half hour.

Basically I want to add my own text on the top of the page and add the iframe below from one of the pages on another website (with permission).

Thanks
#bars #iframe #scroll
  • Profile picture of the author topnichewebsites
    Some like this

    <!DOCTYPE html>
    <html>
    <body>


    <p><b>Note:</b> This is a test.</p>

    <iframe src="demo.html" style="width:100%;"> </iframe>


    </body>
    </html>
    Signature
    http://pixelcovers.com/ <- eBook add eCovers

    https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
    {{ DiscussionBoard.errors[8684246].message }}
  • Profile picture of the author yukon
    Banned
    http://www.w3schools.com/tags/att_iframe_scrolling.asp

    Code:
    <iframe src="http://www.domain.com/" width="200" height="200" scrolling="no">
    </iframe>
    {{ DiscussionBoard.errors[8684251].message }}
    • Profile picture of the author thecableguy
      Thanks but I tried several from w3schools.com and it still creates that scrollbar leaving that ugly "double scrollbars". I did it before years ago, but It's having trouble with the newer browsers I guess.

      Thanks anyway guys
      {{ DiscussionBoard.errors[8684279].message }}
  • Profile picture of the author yukon
    Banned
    I tested this code below & it works on both Chrome & Firefox, no border & no scrollbars.

    Code:
    <iframe src="http://www.warriorforum.com/" width="200" height="200" scrolling="no" frameborder="no">
    </iframe>
    w3schools says iframe frameborder doesn't work on HTML5 but it works for me when I tested the code above.
    {{ DiscussionBoard.errors[8684372].message }}
    • Profile picture of the author thecableguy
      Apparantly the scrollbars shows if you're iframing a page that's ALREADY iframed. Newbie here

      Thanks

      Originally Posted by yukon View Post

      I tested this code below & it works on both Chrome & Firefox, no border & no scrollbars.

      Code:
      <iframe src="http://www.warriorforum.com/" width="200" height="200" scrolling="no" frameborder="no">
      </iframe>
      w3schools says iframe frameborder doesn't work on HTML5 but it works for me when I tested the code above.
      {{ DiscussionBoard.errors[8684423].message }}

Trending Topics