?
Solved

Hide iframe scrollbar in IE

Posted on 2013-12-24
3
Medium Priority
?
553 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Accepted Solution

by:
teodor birca earned 800 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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

762 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