Forum Moderators: open

Message Too Old, No Replies

Specify pixel size of scroll bars for a pop-up

         

MattC

3:16 pm on Feb 14, 2002 (gmt 0)

10+ Year Member



Does anyone have the source to specify the pixel dimensions for scroll bars in a popup?

I know how to turn them off, but unless the size is also set to zero, Mac IE browsers can leave a margin around the cell which increases the size of the pop-up.

Cheers.

tedster

1:39 am on Feb 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've done a good bit of searching -- you wouldn't BELIEVE some of the places you can find on a search for [javascript scrollbar]! But I can't find a hint of controlling the width of the scrollbar.

Here's a list of the controllable properties I did find for IE only.

scrollbar-3d-light-color
scrollbar-arrow-color
scrollbar-base-color
scrollbar-dark-shadow-color
scrollbar-face-color
scrollbar-highlight-color
scrollbar-shadow-color

I even found a page that promised code for BLINKING scrollbars (have they no shame?) -- but after all was done, only color control, no size.

Purple Martin

4:12 am on Feb 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I'm fairly certain that the scrollbar size is set by the operating system and you can't do anything about it. :(