View Full Version : Disabling scroll bars in <div>'s

Jun 19th, 2009, 02:00 AM
When content gets to large for a <div> it creates a scroll bar within that <div> in order to keep the same size yet be able to scroll through all the content. Is there a way to disable this and just let that content be cut off?

Thanks so much.

(an example is here (http://www.*******************) but it only works on the IE at this computer so it may not show up)

Jun 19th, 2009, 04:30 AM
Add 'overflow:hidden' to the css of that div.

Jun 19th, 2009, 03:36 PM
It worked for one but not another... It still has that scroll bar in the threads and tshirts divs

Jun 20th, 2009, 02:33 AM
<iframe style="border: 0px;" width="150" height="607" overflow="hidden" src="http://shirts.*******************/publish/ifeed?s=2&t=Threads&o=0&f=Arial&fs=12&bg=%23000000&fg=%23FFFFFF&c=4&pid=127693.127698.127703.139433"></iframe>
That is what you have, shouldn't the overflow be in the style attribute? I don't know which div's you've already fixed to have a look at, but try this.

<iframe style="border: 0px; overflow:hidden;" width="150" height="607" src="http://shirts.*******************/publish/ifeed?s=2&t=Threads&o=0&f=Arial&fs=12&bg=%23000000&fg=%23FFFFFF&c=4&pid=127693.127698.127703.139433"></iframe>

Jun 21st, 2009, 05:05 PM
True. I did fix that. But it didn't fix my problem :( I will provide any information needed to help. Thanks so much for your support guys.