Solved

Hide iframe scrollbar in IE

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
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…
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…

757 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

21 Experts available now in Live!

Get 1:1 Help Now