Solved

Hide iframe scrollbar in IE

Posted on 2013-12-24
3
549 Views
Last Modified: 2013-12-25
Hello,
I tried all solutions mentioned her, but I cannot get the vertical scroll-bar to disappear in IE and Chrome.
http://mytestweb.us/iframe.html .
Inserted scrolling:"no" into the iframe, applied various versions of overflow: hidden to body, iframe or form div (tried without form div too, also instead of hidden auto).

Interesting: this sample has a form within the iframe. When I use a different url in the iframe, no scroll-bar shows.

What am I doing wrong?

Thanks!
0
Comment
Question by:Sumukha
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
teodor birca earned 200 total points
ID: 39738718
for me using this code works fine in IE and Chrome .. the scroll bar iframe is not visible:

<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>
<style type="text/css">
<!--
iframe {
}
body {
	overflow: auto;
}
#form {
	overflow: hidden;
}
-->
</style>
</head>

<body>
<p><iframe src="http://mytestweb.us/forms2/form.php" style=" overflow:hidden;width: 165px; height: 370px;" scrolling="no"></iframe></p>

<p>&nbsp;</p>
<p>&nbsp;</p>





</body></html>

Open in new window

0
 

Author Closing Comment

by:Sumukha
ID: 39738756
You made my day.
Thanks!
0
 
LVL 3

Expert Comment

by:teodor birca
ID: 39739084
ur welcome, thanks
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been asked to discuss some of the UX activities that I'm using with my team. Here I will share some details about how we approach UX projects.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question