Note that there are some explanatory texts on larger screens.

plurals
  1. POHTML/CSS: Why doesn't scrolling work in iframe?
    primarykey
    data
    text
    <p>I have a website with 3 iframes and none of them works, although the text is longer than the windows: in Firefox the scroll bars appear but don't work; in Chrome the bars don't even appear. They do scroll in IE 6.</p> <p>So I suspect there is a problem with the CSS. Probably it's something trivial, but I fail to see it.</p> <p>CSS code:</p> <pre><code>.header { position:fixed; top:0%; right:0%; height:4%; width:100%; text-align:center; background-color:#BF1E4B; font-family: "Trebuchet MS",Arial,Helvetica,sans-serif; z-index:+1; } .nav,.nav ul { list-style:none; margin:0.5%; padding:0; } .nav { top:0%; left:0%; position:absolute; } .nav ul { height:0; left:0; position:absolute; overflow:hidden; top:100%; } .nav li { float:left; position:relative; } .nav li a { -moz-transition:0.1s; -o-transition:0.1s; -webkit-transition:0.1s; background-color:#BF1E4B; color:#fff; display:block; font-size:100%; line-height:100%; padding:4px 35px; text-decoration:none; transition:0.1s; } .nav li:hover &gt; a { background:#000; color:#fff; } .nav li:hover ul.subs { height:auto; width:100%; } .nav ul li { -moz-transition:0.1s; -o-transition:0.1s; -webkit-transition:0.1s; opacity:0; transition:0.1s; width:100%; } .nav li:hover ul li { opacity:1; -moz-transition-delay:0.1s; -o-transition-delay:0.1s; -webkit-transition-delay:0.1s; transition-delay:0.1s; } .nav ul li a { background:#BF1E4B; color:#fff; line-height:0%; -moz-transition:0.1s; -o-transition:0.1s; -webkit-transition:0.1s; transition:0.1s; } .nav li:hover ul li a { line-height:150%; } .nav ul li a:hover { background:#000; } .iframe1 { position:fixed; bottom:48%; right:0%; height:48%; width:50%; } .iframe2 { position:fixed; top:4%; left:0%; height:96%; width:50%; } .iframe3 { position:fixed; top:52%; right:0%; height:48%; width:50%; } </code></pre> <p>Sorry for the amateur look, and thanks in advance :)</p> <p>HTML code:</p> <pre><code>&lt;div class="header"&gt; &lt;ul class="nav"&gt; &lt;li&gt;&lt;a href=""&gt;Links&lt;/a&gt; &lt;ul class="subs"&gt; &lt;li&gt;&lt;a href="xxx" target="_blank"&gt;link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="xxx" target="_blank"&gt;link&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="xxx" target="_blank"&gt;link&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/li&gt; &lt;/li&gt; &lt;/ul&gt; &lt;div style="clear:both"&gt;&lt;/div&gt; &lt;/div&gt; &lt;div class="iframe1"&gt; &lt;iframe src="xxx" width=100% height=100% scrolling="yes"&gt;&lt;/iframe&gt; &lt;/div&gt; &lt;div class="iframe2""&gt; &lt;iframe src="xxx" width=100% height=100% scrolling="yes"&gt;&lt;/iframe&gt; &lt;/div&gt; &lt;div class="iframe3"&gt; &lt;iframe src="xxx" width=100% height=100% scrolling="yes"&gt;&lt;/iframe&gt; &lt;/div&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload