Can't get rid of the scroll bar in Chrome

Discussion in 'CSS' started by TheDataPlanet.com, Jan 22, 2010.

  1. #1
    TheDataPlanet.com, Jan 22, 2010 IP
  2. unigogo

    unigogo Peon

    Messages:
    286
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi,

    Your post content box is not div but textarea. I don't have Chrome but in IE the following CSS should remove the right scrolling bar.

    textarea{Overflow:auto;}

    html {Overflow:auto;}
    should remove the right scroll bar of the browser.

    Let me if it works in Chrome. Thanks
     
    unigogo, Jan 22, 2010 IP
  3. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #3
    overflow:auto causes scrollbars on any element who has set dimensions and inner content which exceeds that set dimension.

    Textareas sometimes have disabled scrollbars by default no matter if they are empty. Opera also adds in scrollbars, and I think IE8 did too.
     
    Stomme poes, Jan 23, 2010 IP