...

View Full Version : Button and arrow color in css?



cokepoet
08-18-2005, 11:24 PM
I use the scrollbar color generation code offered on your site, but now I have a table that has a button and an arrow and a border that I would like to color-code to match the rest of the page.

My page is at:

http://www.geocities.com/cokepoet/

and you can see that I changed the scrollbar with your code. The little table in the left-hand, upper corner has the user's default colors, though, for the border, the button, and the arrow. How can I change them, and where do I put the code?

Thanks in advance if anyone can help. I love your site and the easy cut-and-paste things that a regular guy can apply to his site without being a genius. :)

cokepoet
08-18-2005, 11:37 PM
I was referring to JavaScript Kit as the place where I have gotten a lot of code. I just realized that this forum may not be directly affiliated with JavaScript Kit, but may just be linked to from there.

COBOLdinosaur
08-19-2005, 12:40 AM
If you look at you page in anything but IE you will firstnotice that the scroll bar code has no effect because it is non-standard and only support by M$. As for the select you want to style, not going to happen. Other than the background color, font color, and perhaps some of the other font attributes, you cannot modify the look in IE.

As for the button just use CSS to modify it just about anyway you want. It will take most of the standard styling that any other element does.

cokepoet
08-19-2005, 12:47 PM
Thank you for your help.

Do we know how many people use IE over other browsers? Surely many more than the others put together?

chilipie
08-19-2005, 12:58 PM
W3C browser usage statictics: http://www.w3schools.com/browsers/browsers_stats.asp

As you can see, the majority of web browsers use IE, but that doesn't mean you should cater for them alone. More people are moving to different browsers, in particular Firefox.

COBOLdinosaur
08-19-2005, 01:02 PM
IE still has a dominate market share. The exact numbers depend on where you get the stats from. Non-IE browsers account for anywhere from 11% to 40% market share. While the stats don't agree on the number there is one absolutely clear trend in everyone's stats IE is losing share and has been doing so steadily for at leat a year.

In the end it comes down to the target demographics of the niche you are in. The server logs will indicate what browsers that visitors to a site are using, and so decisions on which browsers to support depends on what your users are using.

OR... you take the broader approach and stay to strict standards, so you support virtually all modern browsers without major issues.

iota
08-19-2005, 01:06 PM
only people who know IE's bugs don't use IE

Tristan Gray
08-19-2005, 01:17 PM
I don't agree, FireFox is becoming a trend, and there is plenty wrong with FireFox too. FireFox is for all the cool internet kiddies these days. I wish people would stop using FireFox so much because now more people are developing annoying adware and stuff to work with FireFox.

I'm going to start working on my own linux distribution soon and hopefully make my own browser! Mwahahaha!

cokepoet
08-19-2005, 02:07 PM
Thanks, folks. Finding other ways to trick out my site now. :) Hopefully not TOO much.

Too much TIME on my hands.

gsnedders
08-19-2005, 02:20 PM
I was referring to JavaScript Kit as the place where I have gotten a lot of code. I just realized that this forum may not be directly affiliated with JavaScript Kit, but may just be linked to from there.
They're both owned by the same person, George.

Broswser Stats:

Internet Explorer 6
Firefox
Safari

As for IE's usage falling, last month it rose for the first time since Firefox 1.0.0 came out.

Tristan Gray
08-19-2005, 02:39 PM
if your host supports it start learning some php etc. That can really spice up your site and it is a very useful thing to know in web development. If you got a lot of time, start learning. I wish I had more time right now.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum