Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can you change the width of a scroll bar (scrolling DIV) in IE7

Is there any way to change the entire width of the horizontal scroll bar on a scrolling div (including the nudge arrows and the handle).

EDIT: I only need an IE7 solution - it's for a scrolling DIV on a touch screen terminal

Thanks

Matt

like image 848
Matt Goddard Avatar asked Nov 05 '22 22:11

Matt Goddard


1 Answers

Actually, I revise my statement... in IE7, you CAN do some scaling.

<div style="zoom:5;font-size:20%;overflow-x:auto;">
  Hello World!       Hello World!       Hello World!       Hello World!       Hello World!       Hello World!       Hello World!
</div>

zoom tells IE to scale up the contents by 500%, and I've set the font-size to be 1/5 of normal (thus remain the same)... this scales the scrollbars (but it looks a bit ugly at this zoom, since the images are raster based, not vector based.

like image 198
scunliffe Avatar answered Nov 15 '22 09:11

scunliffe