Results 1 to 7 of 7
-
December 9th, 2008, 10:12 PM #1
Changing color of text input boxes?
OK, let me try this another way.
I am using Firefox 3.0.4 on Windows XP and want to change the inside color of the boxes (see attachments) from white to a light gray or silver.
It's not ONLY this site, but any site that has similar boxes.
Firefox changed something with the 3.0 series, because with all the 2.0 versions and before, all I did was choose my own web page colors in the options and the background and all the boxes etc. were MY color; silver.
I tried using userContent.css and userChrome.css and I did get some boxes on other sites to change color, but it is not working on our site here.
What worked in userContent.css was:
input, textarea {
background-color: silver !important;
}
So, if these boxes on PAFOA (and other sites), are not textarea boxes, what are they called?
And is there another way other than user chrome/content to change this box color?
This bright white drives me NUTS!
Thanks for any help.
-
December 10th, 2008, 04:00 AM #2
Re: Changing color of text input boxes?
It sounds like you've covered all the known bases, if you've gotten as far as the chrome.css, you're quite deep in.
As a web developer however, I would highly suggest not messing with your defaults, you might end up shooting yourself in the foot on some sites.Dan P, Founder & President, Pennsylvania Firearm Owners Association
Purchase a Forum Subscription • Buy some PAFOA Merchandise • Help PAFOA's Search Engine Ranking
-
December 10th, 2008, 08:13 AM #3
Re: Changing color of text input boxes?
Thanks for the reply Dan. Are these boxes known by another name, other than textarea?
I noticed that I.E. also went to this "white box" thing quite a while ago, which is one reason I never used it. But, Firefox just did this beginning with the 3.0 versions.
Surely there must be a simple way to change the background color of the boxes....or just make it revert back to the way it was before...to keep them the same color as my page background.
I have this question posted to the Mozilla forum, but no answers yet
-
December 10th, 2008, 12:44 PM #4
Re: Changing color of text input boxes?
The vBulletin editor is actually an iframe with another document in it. You're not even typing into a text editor when using it.
Try this:
body.wysiwyg { background-color: #eee; }
in your user chrome.Dan P, Founder & President, Pennsylvania Firearm Owners Association
Purchase a Forum Subscription • Buy some PAFOA Merchandise • Help PAFOA's Search Engine Ranking
-
December 10th, 2008, 03:42 PM #5
-
December 10th, 2008, 04:15 PM #6
Re: Changing color of text input boxes?
What's interesting is that if I check "let pages choose their own colors...", all the boxes I am concerned about, including the box I am typing in now, are not the bright white, but a more acceptable off-white, almost a light gray.
But then all the other page colors are irritating...which is why I use the gray background as my chosen color.
I guess I could try and find a theme that would work. Wonder why Firefox changed this beginning with version 3.0...and what exactly was it they changed?
-
December 11th, 2008, 08:27 PM #7
Re: Changing color of text input boxes?
Well, I finally got it working the way I wanted it on vBulletin and all other pages!
In case anyone else is interested, I installed the "Stylish" add-on and then inserted the following into it:
@namespace url(http://www.w3.org/1999/xhtml);
input, button, select, textarea, option {
-moz-appearance: none !important;
background-color: silver !important;
}
Of course you can change the color silver to your favorite color.
Similar Threads
-
ar color help
By o1dakota440 in forum GeneralReplies: 13Last Post: December 6th, 2008, 04:32 PM -
Theft under color of law?
By King 5.45 in forum GeneralReplies: 15Last Post: September 4th, 2008, 07:19 AM -
Can anybody produce the text of Philly's new gun "laws"?
By TravisBickle in forum GeneralReplies: 2Last Post: April 10th, 2008, 07:25 PM -
What color was your Poo this morning?
By Emptymag in forum GeneralReplies: 1Last Post: April 6th, 2007, 11:01 PM -
a text version...I know it's a pic thread...I'm working on getting a dig camera
By kmrcstintn in forum GeneralReplies: 3Last Post: February 8th, 2007, 06:45 PM
Bookmarks