IE 6 - IFrames No Horizontal Scrolling
For my job we use IE6.. they're just testing my limits I'm pretty sure of that. I'm posting 2 ways to get around the horizontal scroll bar showing up automagically in IE 6. But I have no idea how these lookin firefox or other browsers and versions.
Using <iframe>:
<iframe src="url.html" height="100%" width="100%" frameborder="0" scrolling="yes" style="overflow:visible;"></iframe>
if you have scrolling="yes" style="overflow:visible;" you get the iframe with only a vertical scroll bar. \o/ (i found this on some chinese site, no instructions no nothing..so I thought I'd add it here)
Iframe Alternative:
Create a style in your css code that looks like
.scroll-vert {
height:200px;
width:100%;
overflow-x:hidden;
overflow-y:scroll;
}
I use this in a <div> tag . The height you'd need to set to whatever space you want your 'frame' to be and the info would not be in a new file.. it'd just be within the <div> tag. The width:100% is so that the scroll bar shows up. If you don't put a width in the scroll bar gets hidden completely. For usability it makes more sense to have the scroll bar so the user knows it WILL scroll otherwise it's not clear that there is scrolling within that div / area of the screen. It does look pretty tho.
</nerdy>





