05 January 2006, 20:54 UTC#1
This has been on my mind for years now and I never bothered to ask lol..
How come when you set the iframe scrolling to "yes" there is no scrollbar at the bottom, but when its set to "auto" there is? On IE I mean..
Is there anyway round this because it ruins the layout when set to yes as is has the scrollbar outline and shadow always there even when its not needed..
thanks
05 January 2006, 21:09 UTC#2
CODE
<iframe src="http://" name="Iframe" width="xxxpx" height="xxxpx" align="left" scrolling="yes" frameborder="no"></iframe>
Either that, or ass "scrolling="yes" to your existing iframe.
Edit: Didn't read what you fully said, the reason for that is when set to "auto" the iframe reads the entire source document and places a scrolling bar so you can scroll accross the documents page. With "yes", normally it just adds a scrolling height bar and reads from the width variable.
05 January 2006, 21:15 UTC#3
yeah but when its on yes and it doesnt need to scroll it has the "shadow" of the scrollbar and takes away from the look of the site.
05 January 2006, 21:16 UTC#4
cough: iframes suck :cough, but seriously , they do
05 January 2006, 21:18 UTC#5
QUOTE(broken silence @ Jan 5 2006, 10:15 PM) [snapback]260367[/snapback]
yeah but when its on yes and it doesnt need to scroll it has the "shadow" of the scrollbar and takes away from the look of the site.
Maybe you made the scrollbar transparent? Or added a colour to it? Use my code.