Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Nov 2008
    Posts
    317
    Thanks
    159
    Thanked 0 Times in 0 Posts

    Question Disabling scroll bars in <div>'s

    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 but it only works on the IE at this computer so it may not show up)
    durkmusicbeats . com

  • #2
    Senior Coder
    Join Date
    Oct 2005
    Posts
    1,340
    Thanks
    0
    Thanked 61 Times in 60 Posts
    Add 'overflow:hidden' to the css of that div.

  • Users who have thanked drhowarddrfine for this post:

    cincinnatiboy4867 (06-19-2009)

  • #3
    Regular Coder
    Join Date
    Nov 2008
    Posts
    317
    Thanks
    159
    Thanked 0 Times in 0 Posts
    It worked for one but not another... It still has that scroll bar in the threads and tshirts divs
    Last edited by cincinnatiboy4867; 06-19-2009 at 03:40 PM.
    durkmusicbeats . com

  • #4
    Regular Coder Kristofa's Avatar
    Join Date
    Jun 2009
    Location
    Leicester
    Posts
    143
    Thanks
    7
    Thanked 20 Times in 20 Posts
    Code:
    <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.

    Code:
     <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>
    Learning along the way...

  • Users who have thanked Kristofa for this post:

    cincinnatiboy4867 (06-21-2009)

  • #5
    Regular Coder
    Join Date
    Nov 2008
    Posts
    317
    Thanks
    159
    Thanked 0 Times in 0 Posts
    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.
    durkmusicbeats . com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •