2 Replies - 1467 Views - Last Post: 13 September 2012 - 02:24 AM

#1 StefanOnRails  Icon User is offline

  • D.I.C Head

Reputation: 35
  • View blog
  • Posts: 105
  • Joined: 31-July 12

place scrollbar outside

Posted 12 September 2012 - 11:04 AM

Hi,

Is there any way to place the scrollbar of a div outside of it? Can this be done with Javascript or I simply cannot do it since the browser settings cannot be overwritten in this case?
Is This A Good Question/Topic? 0
  • +

Replies To: place scrollbar outside

#2 BetaWar  Icon User is offline

  • #include "soul.h"
  • member icon

Reputation: 1147
  • View blog
  • Posts: 7,134
  • Joined: 07-September 06

Re: place scrollbar outside

Posted 12 September 2012 - 11:13 AM

No you can't place it outside of the div, but you can work around that using CSS/Javascript to either:
a - Make a custom scroll bar
or b - Add a container div and use margins to force the inner-div's scrollbar to be outside of the outer div.

Depending on the look you are attempting to get either may work for you and aren't too difficult to put together.
Was This Post Helpful? 1
  • +
  • -

#3 StefanOnRails  Icon User is offline

  • D.I.C Head

Reputation: 35
  • View blog
  • Posts: 105
  • Joined: 31-July 12

Re: place scrollbar outside

Posted 13 September 2012 - 02:24 AM

Thanks for advices, I solved my problem using CSS.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1