Solved

Hide iframe scrollbar in IE

Posted on 2013-12-24
3
537 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

912 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now