You know you can change the scrollbar colour by using a CSS style? I was wondering what else on the page you could change by this - specifically the top bar, with the maximise/minimise windows etc, but also anything else...
Thanks in advance,
James
Printable View
You know you can change the scrollbar colour by using a CSS style? I was wondering what else on the page you could change by this - specifically the top bar, with the maximise/minimise windows etc, but also anything else...
Thanks in advance,
James
I know about the scrollbar color thing, but you CAN'T change the titlebar's color, but you CAN get rid of it from a popup window. Like this fullscreen=yes.
how do you change the scrollbar colour?
You can do it but it's invalid CSS and only works in IE 5+
http://www.warriorofnight.com/booksh...ollbar_gen.htm
Also IE 6 in strict mode will ignore invalid CSS like this to be W3C compliant.
Yeah, its a neat effect and growing ever more popular.
body {
scrollbar-face-color:color;
scrollbar-track-color:color;
scrollbar-arrow-color:color;
scrollbar-darkshadow-color:color;
scrollbar-shadow-color:color;
scrollbar-3dlight-color:color;
scrollbar-base-color:color;
}
Z-E,
thanks for the reply. I put that in my css file and it said that was illegal. where do i put it?
cheers,
That's the choice you have to make - either have illegal CSS that changes the scroll-bar colour, or remove it and have legal CSS.
: I used an external .css file for The scroll bar color (so only IE will have it)
Used this PHP (if ur server supports PHP ;))
You should be able to do something simular with CGI or that too :)PHP Code:$agent = getenv("HTTP_USER_AGENT");
if(ereg("MSIE", $agent)){
echo "<LINK REL=\"StyleSheet\" HREF=\"".$baseurl."/template/style/ie.css\" TYPE=\"text/css\">\n";
}
I could argue that the scrollbar is part of the web browser, not the web page, and should remain the color selecting by the user for the whole OS windowing system (ex, on Windows what you set in the Display control panel). :D
You've hit the nail on the head there, Josh.
and then I argue:Quote:
Originally posted by JoshT
I could argue that the scrollbar is part of the web browser, not the web page, and should remain the color selecting by the user for the whole OS windowing system (ex, on Windows what you set in the Display control panel). :D
"Why would M$ build the function into the browser if its not meant to be used?, a waste of CPU Cycles and HD Space :\"
Other Browsers may build the function into their browsers later, but since the Scroll Bar takes up space on the site, it does help to color it to the site, and may it "Stick with the theme" ;)
and again,
THEY DID ;)
Command buttons,
Input Area's
Drop Select's
Anything you choose, they have allowed it in ie, and some other browsers allow drop lists etc.
IE:
http://www.search.realm-ed.co.uk/cgi...Link&Category=
Just a quick but of changes...
I see what you are saying, but why didn't microsoft go the whole way and decide to allow you to change all aspects of windows based controls such as dropdown lists?
But they did so incorrectly - they should use a prefix (-ms-, maybe) to mark it proprietary rather than add invalid CSS (and to correctly claim CSS compliance they are required to ignore invalid CSS).Quote:
Originally posted by wpearsall
and then I argue:
"Why would M$ build the function into the browser if its not meant to be used?, a waste of CPU Cycles and HD Space :\"
Other Browsers may build the function into their browsers later, but since the Scroll Bar takes up space on the site, it does help to color it to the site, and may it "Stick with the theme" ;)
And why do you assume a browser will even have a scrollbar - the folks at the W3 who write the recommendations don't.