prueba esto es muy fácil de usar y probar en IE y Safari y FF y funcionó bien y sin necesidad de muchos div
solo agrega id
y funcionará bien, después de vincular los archivos Js y Css. FaceScroll Custom scrollbar
espero que sea de ayuda
Editar Paso 1: Añadir el guión a continuación a la sección de su página:
<link href="general.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js"></script>
<script type="text/javascript" src="jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="facescroll.js"></script>
<script type="text/javascript">
jQuery(function(){ // on page DOM load
$('#demo1').alternateScroll();
$('#demo2').alternateScroll({ 'vertical-bar-class': 'styled-v-bar', 'hide-bars': false });
})
</script>
Paso 2: A continuación, en el cuerpo de la página, añadir el debajo del bloque HTML de muestra a su página.
<p><b>Scrollbar (default style) shows onMouseover</b></p>
<div id="demo1" style="width:300px; height:250px; padding:8px; background:lightyellow; border:1px solid gray; resize:both; overflow:scroll">
From Wikipedia- Gunpowder, also known since in the late 19th century as black powder, was the first chemical explosive and the only one known until the mid 1800s.[2] It is a mixture of sulfur, charcoal, and potassium nitrate (saltpeter) - with the sulfur and charcoal acting as fuels, while the saltpeter works as an oxidizer.[3] Because of its
</div>
<br />
<p><b>Scrollbar (alternate style), always shown</b></p>
<div id="demo2" style="width:400px; height:130px; padding:10px; padding-right:8px; background:lightyellow; border:1px solid gray; overflow:scroll; resize:both;">
From Wikipedia- Gunpowder, also known since in the late 19th century as black powder, was the first chemical explosive and the only one known until the mid 1800s.[2] It is a mixture of sulfur, charcoal, and potassium nitrate (saltpeter) - with the sulfur and charcoal acting as fuels, while the saltpeter works as an oxidizer.[3] Because of its
</div>
Para los navegadores WebKit (Chrome/Safari), puede utilizar esto: http://stackoverflow.com/questions/7713599/styling-an-inner-scrollbar-like-the-twitter -conversation-interface/7713784 # 7713784 – thirtydot
@graphicdivine, ese sería solo el caso si están cambiando la barra de desplazamiento para todo el cuerpo. Hay muchas otras barras de desplazamiento que podrían modificarse (dentro de la página web) donde no tiene nada que ver con el navegador Chrome. – Dan
Este enlace muestra que debes hacerlo en los navegadores Webkit: http://css-tricks.com/custom-scrollbars-in-webkit/ – user1108509