Forum Moderators: not2easy
}
W3c validator donīt like but what is wrong?
In XHTML the scrollbar is considered part of the <HMTL> tag and not the <BODY>. If you put an XHTML doctype declaration in your page with the CSS as it is, the coloured scrollbar will not display in IE6.
If you change the declaration to:
html, body
{
scrollbar-face-color: #e2e2e2;
scrollbar-shadow-color: #CCCCDD;
scrollbar-highlight-color: #BBBBBB;
scrollbar-3dlight-color: #E4E4E4;
scrollbar-darkshadow-color: #E4E4E4;
scrollbar-track-color: #F5F5F5;
scrollbar-arrow-color: #F5F5F5;
}
body
{
background-repeat: repeat-y;
margin-left: 0px;
}
it'll fix things up nicely.
Shadows Papa
In the other hand futuristic themed designs are spoiled by the old system color.
And personally I think W3C is a permanent bothering... why should I discuss design matter with them?
You canīt deny controlling that part of design doesn't help.
How does forcing a change to someones browser help your design? It only annoys people, you dont hear people responding with "oh look at my pretty scroll bars im going to buy something from this site now" they are more likely to hit the back button and ignore your site all together.
And personally I think W3C is a permanent bothering... why should I discuss design matter with them?
Ummm because they help develop standards that make your job as a web developer much easier, without them web design would be more chaotic than it already is.
And personally I think W3C is a permanent bothering... why should I discuss design matter with them?
They're trying to make things easier, not harder. If you don't want to worry about them - don't. But if people come along to your site and it looks like <snip> in any other browser than IE6, and never come back, you have your answer as to why people do pay attention.
The default scrollbar is ok and part of the browser when it's way over on the right side, but looks pretty bad in the middle of a screen done in other colors, since the colors clash horribly. So what I did was to first make the scrollbar background match the site background, to blend it in better. Then I set the rest to complimentary colors that stand-out in order to avoid the where's the scrollbar game.
So there are legitimate uses, especially when the scrollbar is part of the page instead of part of the browser border.
I have a fixed section on the right-side of the browser, then the "content" section on the left side.
My basic view is that the scroll bar is part of the browser's interface and is not a page element. I don't want a webmaster to change the size of my browser window or the browser's theme just to make it "look better" with their site. I'm the one who makes the choices on how my browser looks and the webmaster can just butt out of it.
You can talk about how important are users with other browsers than IE... but the real thing is no one care.
They are less than 3%
If they are ugly and I can do something about it I will. W3C should understand that . . .
after all if 97% people is able to see it, why donīt accept is a standard?
By the way do you use Opera?
I donīt know a single person that uses it.. and when I see logs I understand why my scrollbars are so colorfull
Otherwise, I'm dropping off this topic lest I get kicked off! Time to return to technical solutions for technical problems. I have real content to deal with. I'm surprized the forum master has stood back for so long.......and I don't wish a 2x4 across the hands.
Shadows Papa
By the way do you use Opera?
74488 82.12% MSIE 4 and up
4046 4.46% Mozilla
2335 2.57% Opera
I expect to see Mozilla go up this month as I successfully convinced several of our regular visitors to try it out and they subsequently fell in love with it. Hopefully, I can increase the number even further as I start incorporating several Mozilla-based Easter eggs into the pages (one of which is a CSS menu system).
jetboy_70: tanks mang! that little bit of info may get me doing xhtml again! excellent info.
Shadows Papa: i'm over 40. and i color my scroll bars ...
everyone who complained about colored scroll bars: exactly what color IS the bar in Mozilla ...
everyone who complained about having your browser "hijacked" and it's "out of bounds": exactly what part of the browser application is acted on by this code: window.defaultStatus and window.status. let's not forget JavaScript window re-sizing either.
love it or hate it --it gives the web designer control over how their web page is presented. how your site is presented to the world and what it looks like. if i have a dark gray'ish ( or any other ) color scheme on my site and now IE let's me blend those scroll bars into my site and make them more an integral PART of my site --i'll use it. just like any other design element, you can make it look terrible. or you can make it blend in with your site. IE just gives you that choice to use it.
I'd like to sample a couple of pages that have scrollbars recolored. (URL's in sticky mail possible?)
How are IE's bars and Netscapes so different? On my computer, both seem to be gray/silver! Maybe NS7 has a tinge of color but otherwise, I don't see them being better - hardly even different. IE's like them or not at least match the OS! I've not run Opera since I rebuilt my network and computers so can't say what it's like now.
Don't even think of resizing my browser - I never run full-screen because I always run about 10 apps at once, the browser window is just one of many and I like to flip between apps like I flip between papers on my desk. If I want to view your page full-screen, I'll switch my own browser over, thank you. You can suggest to me how your site will look best.
I never ever have had only one app running full screen on my computer. Even in the days of DOS, I ran multi-tasking software to run multiple apps as once in "windows". (note, however, that I use the term "multi-tasking" loosely - a PC design doesn't and can not allow true "multi-tasking", only time slicing/sharing)
I currently have 12 applications and windows running, my browser is at about 90% screen. I'm also using 3 computers right now. I reach "around" the browser to my desktop to hit another app or window. Nother ever gets my full screen.
Shadows Papa
Agree.
My browser (CrazyBrowser) configuration does not allow change of the window status bar. It does not allow popups. It does not allow background sound. It does not allow videos to start automatically. It does not allow changing window size. It does not allow animated gifs. No Flash, Java, or ActiveX either.
The only thing i can't seem to disable is that colored scrollbar, and it annoys me big time.
This is scary:
>> In my dreams I can force full screen viewing
I have a high-resoulution screen precisely because my windows should not fill the whole screen. It's my PC and my screen - i decide. If sites don't work in something like 800x600, i'm not using them unless i absolutely have to.
This is even more scary:
>> If I can see it and get at it - it is a design element.
No, it's a security risk, that's what it is. Web designers should never-ever be able to change anything on a client machine except a cookie.
/claus
One thing I can't stand is when I visit a site in IE and all of the sudden my scrollbars are 2d (bad enough) and bright purple (or some other obnoxious color) and totally wreck the visual style -- and to add insult to injury, I can't get my original scrollbars back the whole time I'm browsing that site!
The buttons and checkboxes being styled differently from the visual style is not so bad, because they are 'inline' -- inside of the browsing frame -- but when the scrollbars are changed it effects the way the 'outter' frame looks compared to other windows. Being a symmetry freak, I loathe when it happens.
Thankfully I don't use Explorer as my default browser, so I don't have to worry about it, but I sure wish that for those times when I do have to fire it up they would provide an option to disable that feature. I mean...what's the point of allowing for visual styles if the apps they are applied to are just going to override them without asking!?
Jordan
but I sure wish that for those times when I do have to fire it up they would provide an option to disable that feature
Here's how to almost do that. Set up a CSS file with the elements you don't want overridden. Or the elements exactly how you want them. Example, using silverbytes original CSS:
body
{
scrollbar-face-color: #e2e2e2!important;
scrollbar-shadow-color: #CCCCDD!important;
scrollbar-highlight-color: #BBBBBB!important;
scrollbar-3dlight-color: #E4E4E4!important;
scrollbar-darkshadow-color: #E4E4E4!important;
scrollbar-track-color: #F5F5F5!important;
scrollbar-arrow-color: #F5F5F5!important;
background-repeat: repeat-y!important;
margin-left: 0px!important;
}
(Note the !important tag added to each rule. That almost guarantees it won't be overriden by incoming CSS]
Now go to Tools / Internet Options / Accessibility (your menus may vary -- I'm looking at IE 5.5). Tick "Format document using my stylesheet", and give it the name.
You may then need to clear IE's cache and restart it for IE to notice the difference.
Shadows_Papa can now view the Des Moine's web site with sunken 3d gray scrollbars (as Silverbytes wants)-- or whatever they want: simply add your own CSS to the accessibility file.
Great tip! I had forgotten about the custom stylesheet option. Works perfectly! But it doesn't preserve my visual style which uses bitmaps to style the scrollbar...so, to go one step further, I used transparent as the value for every attribute and added the html element to the selector...
body, html {
scrollbar-face-color: transparent!important;
scrollbar-shadow-color: transparent!important;
scrollbar-highlight-color: transparent!important;
scrollbar-3dlight-color: transparent!important;
scrollbar-darkshadow-color: transparent!important;
scrollbar-track-color: transparent!important;
scrollbar-arrow-color: transparent!important;
} Now my bitmap-styled scrollbars are always intact! :D
Tested against this page:
[w3.org...]
Thanks again!
Jordan