scroll control (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets and Accessibility



Message


maja -> scroll control (3/11/2005 19:30:45)

visit: www.majawiechen.com/majawiechen.htm

as you can see everything looks very nice except for that piece of crap scrollbar next to the paragraph. most of you know that this div has a specific size with the overflow property set to auto. ideally i want this text to be controlled by the default scrollbar of the browser. is this possible?

if it isnt possible, then i wouldnt mind a customized scrollbar next to this paragraph. but from what i know it can only be done for IE. is there a way to create a customized scrollbar for Firefox / Netscape.




jaybee -> RE: scroll control (3/12/2005 4:31:39)

The scrollbar is correct. You have specified a fixed height and overflow auto, therefore, if the amount of text exceeds the size of the box the scrollbar will appear and no, you can't change the colour in the Gecko browsers. There is also a very good case for not changing it in IE either.

The user has no way of changing it back if they don't want you mucking around with their browser settings.




c1sissy -> RE: scroll control (3/12/2005 7:16:09)

quote:

then i wouldnt mind a customized scrollbar


Please keep in mind that CSS is for the content of your pages, not for the viewport/browser/scroll bars. It is to style your xhtml/html.

I don't think it is a good idea to start messing with the browsers. Keep CSS for what it is supposed to be used for. I also don't think that the scroll bar css validates.




maja -> RE: scroll control (3/12/2005 19:19:15)

thanks jaybee / c1sissy

looks like i will have to come up with a slightly different design to maintain the look.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
3.100586E-02