Hiding horizontal scrollbar

liunx

Guest
Hi guys/gals,

I have a <td> which contains a layer. This layer has scrollbars as well. The code is as below:



<td colspan="5" rowspan="9" valign="top" style="padding:15px">
<div id="Layer1" style="position:absolute; top:176px; width:400px; height:420px; z-index:1; overflow: scroll;scrollbar-arrow-color : #006600;">

content goes here content goes here


</div>
</td>



Now the problem is I get BOTH vertical and horizontal scrollbars.

My question is, since i dont need the horizontal scrollbar, is there anyway to hide this scrollbar. Thanks in advance!!

Cheerscheers actually solved it by using overflow: auto;
 
Back
Top