Forums
This topic is locked
iframe horizontal scrolling
05 Jul 2006 23:54:08 widd gama posted:
i'm facing this problem using the iframe, i got the horizontal scrolling which i dont need, i cannt switch it off because i need the vertical one so is set as auto.i have tried every CSS code but it didnt work, the only thing worked is to change the DTD to
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
which is not quite useful cuz it switches the transperancy off as well and i need the iframe to be transperant to view the background of the page. plus it affects the attached CSS to that page, i used CSS to specify the font face,color,size and the line height..somehow it uses the same font face and color but neither the font size nor the line height is right, what should i do?
thanx alotfont=Arial]
Replies
Replied 10 Jul 2006 23:43:53
10 Jul 2006 23:43:53 micah santos replied:
you should reduce the width size of your IFRAME to get rid of the horizontal scrolling.
Replied 21 Jul 2006 19:58:13
21 Jul 2006 19:58:13 Derek Allen replied:
You could also use CSS to disable the horizontal scrolling of just the iframe.
Create a property for your iframe similar to this:
<pre id=code><font face=courier size=2 id=code>
iframe {
overflow-x: hidden;
}
</font id=code></pre id=code>
Best of luck!
-NEX
Create a property for your iframe similar to this:
<pre id=code><font face=courier size=2 id=code>
iframe {
overflow-x: hidden;
}
</font id=code></pre id=code>
Best of luck!
-NEX