|
-
Dec 14th, 2002, 02:54 PM
#1
Thread Starter
Lively Member
CSS Styles...
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
Ich widerstehe allem - nur nicht der Versuchung
(I can resist anything but temptation)
-
Dec 14th, 2002, 06:41 PM
#2
Member
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.
Tolkien is the greatest writer ever.
-
Jan 3rd, 2003, 03:58 AM
#3
Hyperactive Member
how do you change the scrollbar colour?
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
-
Jan 3rd, 2003, 05:05 AM
#4
Fanatic Member
You can do it but it's invalid CSS and only works in IE 5+
http://www.warriorofnight.com/booksh...ollbar_gen.htm
-
Jan 3rd, 2003, 07:31 AM
#5
Frenzied Member
Also IE 6 in strict mode will ignore invalid CSS like this to be W3C compliant.
-
Jan 3rd, 2003, 02:27 PM
#6
Addicted Member
Yeah, its a neat effect and growing ever more popular.
-
Jan 3rd, 2003, 04:32 PM
#7
Member
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;
}
Tolkien is the greatest writer ever.
-
Jan 3rd, 2003, 06:30 PM
#8
Hyperactive Member
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,
"The passion lives to keep your faith, though all are different, all are great" ... Michael Hutchence 1960-1997.
Windows & Web Developer
Specialising in Visual Basic .Net & Client Server Programming & Client/Customer Relations Databases
Sutherland Shire, Sydney Australia
www.stingrae.com.au
Developer of Arnold - Gym & Martial Arts Database Management System
www.gymdatabase.com.au
-
Jan 4th, 2003, 07:09 AM
#9
Frenzied Member
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.
-
Jan 4th, 2003, 07:38 PM
#10
Frenzied Member
: 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 )
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";
}
You should be able to do something simular with CGI or that too
-
Jan 8th, 2003, 11:29 AM
#11
Black Cat
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).
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jan 8th, 2003, 12:17 PM
#12
Fanatic Member
You've hit the nail on the head there, Josh.
-
Jan 9th, 2003, 04:46 AM
#13
Frenzied Member
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).
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"
-
Jan 9th, 2003, 04:58 AM
#14
Frenzied Member
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...
-
Jan 9th, 2003, 05:50 AM
#15
Fanatic Member
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?
-
Jan 9th, 2003, 11:43 AM
#16
Black Cat
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"
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).
And why do you assume a browser will even have a scrollbar - the folks at the W3 who write the recommendations don't.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|