By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,645 Members | 1,047 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,645 IT Pros & Developers. It's quick & easy.

Form elements resistant to styles

P: n/a
I want to make a list of form elements that are resistant to CSS.

So far I have

1. SELECT boxes
2. INPUT type="file"

I am sure there are others. Can someone add to my list so I don't
bother this newsgroup asking questions about how to use CSS to change
the look of certain elements that are reliant on the OS and cannot be
formatted in CSS?

Thanks,
Ann

Feb 14 '06 #1
Share this Question
Share on Google+
12 Replies


P: n/a
"Giggle Girl" <mi*******@gmail.com> wrote:
I want to make a list of form elements that are resistant to CSS.


No such thing.

Various browsers allow varying degrees of form element style
manipulation depending on various browser preference options and various
other user settings.

--
Spartanicus
Feb 14 '06 #2

P: n/a
Ok, let me add a stipulation. For IE6 on Windows XP, I want to make a
list of form elements that are resistant to CSS.

So far I have

1. SELECT boxes
2. INPUT type="file"

Formatting the look of these two elements is problematic. For
instance, I don't see a way of over-riding the default light blue that
surrounds a Select Box.

Any other elements like this?

Thanks,
Ann

Feb 14 '06 #3

P: n/a
"Giggle Girl" <mi*******@gmail.com> wrote:
Ok, let me add a stipulation. For IE6 on Windows XP, I want to make a
list of form elements that are resistant to CSS.


Ask in an IE group.

--
Spartanicus
Feb 14 '06 #4

P: n/a
Giggle Girl <mi*******@gmail.com> wrote:
Any other elements like this?


All form elements (checkboxes, radio buttons, push buttons, popup
buttons, list boxes, text input fields, etc.) can be resistant to
styles. This is highly dependant of the browser and the operating
system. If the browser uses the GUI controls of the operating system for
form elements, styling may fail if the operating system doesn't allow
modifications of these controls. If you've ever seen the "Aqua"
appearance of Mac OS X you'll see that the GUI elements of this system
are far too complex (Transparencies, round corners, complex textures, 3D
effects etc) to be modified via CSS. There no such thing like a simple
background color or a border. So styling these controls via CSS will
definitely fail. Only if y system won't use these system controls,
you may be successful to style the form elements.
--
Alexander
Feb 14 '06 #5

P: n/a
Giggle Girl wrote:
Ok, let me add a stipulation. For IE6 on Windows XP, I want to make a
list of form elements that are resistant to CSS.
IE6/XP ... probably about 60% or less of your (average) audience.
So far I have

1. SELECT boxes
2. INPUT type="file"

Formatting the look of these two elements is problematic. For
instance, I don't see a way of over-riding the default light blue that
surrounds a Select Box.
I have no light blue around a select box. Oh wait, I don't have XP!
Will your web page be able to discern that?
Any other elements like this?


Probably. Why do you want to mess with my browser and operating system?

Consider that the clueless are *used* to seeing these form elements as
normally displayed by their browser/OS. Why do you want to confused
them?

--
-bts
-Warning: I brake for lawn deer
Feb 14 '06 #6

P: n/a
Giggle Girl wrote:

I don't see a way of over-riding the default light blue that
surrounds a Select Box.


It's light blue on your PC, not on mine. That color comes from your
desktop theme. If you don't like it, change your display/appearance
properties until you find something less objectionable.

--
Reply email address is a bottomless spam bucket.
Please reply to the group so everyone can share.
Feb 14 '06 #7

P: n/a
Beauregard T. Shagnasty wrote:
Giggle Girl wrote:
Ok, let me add a stipulation. For IE6 on Windows XP, I want to make a
list of form elements that are resistant to CSS.


IE6/XP ... probably about 60% or less of your (average) audience.


Would you please share where you get that statistic from? My sources
show a MUCH higher percentage than that.

Feb 16 '06 #8

P: n/a
Tony wrote:
Beauregard T. Shagnasty wrote:
Giggle Girl wrote:
Ok, let me add a stipulation. For IE6 on Windows XP, I want to make
a list of form elements that are resistant to CSS.


IE6/XP ... probably about 60% or less of your (average) audience.


Would you please share where you get that statistic from? My sources
show a MUCH higher percentage than that.


'Tis about what I see on one of my sites. I have normally around 80% IE,
but quite a lot of them are -not- using XP. Lots of Win98, still Win95.

--
-bts
-Warning: I brake for lawn deer
Feb 16 '06 #9

P: n/a
Beauregard T. Shagnasty wrote:
Tony wrote:
Beauregard T. Shagnasty wrote:
Giggle Girl wrote:

Ok, let me add a stipulation. For IE6 on Windows XP, I want to make
a list of form elements that are resistant to CSS.

IE6/XP ... probably about 60% or less of your (average) audience.


Would you please share where you get that statistic from? My sources
show a MUCH higher percentage than that.


'Tis about what I see on one of my sites. I have normally around 80% IE,
but quite a lot of them are -not- using XP. Lots of Win98, still Win95.


Ok, that makes sense. But you said IE6 - perhaps I'm way misinformed,
but I thought IE6 won't run on win9x?

BTW, I did a compilation of stats from a number of sources a few weeks
back. I know that browser statistics can be munged, and certainly vary
by site, but I figured a composite from a variety of sources would be a
good indicator.

The sources included w3.org, Pitt County, USGS, Browser news, and a
bunch of others. The result? 72% IE6, 4% IE5, 17% Firefox, 4% "generic"
Mozilla, Opera & Netscape both at 1%, 2.5% Safari, and 5% unknown (if
it doesn't add up it's because I rounded...)

Just for the record, and whatever interest anyone has...

Feb 16 '06 #10

P: n/a
Els
Tony wrote:
but I thought IE6 won't run on win9x?


It does. Upgraded to IE6 from IE4 on a very old Win98 thing just the
other day.

--
Els http://locusmeus.com/
accessible web design: http://locusoptimus.com/

Now playing: The Moody Blues - Gemini Dream
Feb 16 '06 #11

P: n/a
Tony wrote:
Beauregard T. Shagnasty wrote:
Tony wrote:
Beauregard T. Shagnasty wrote:
Giggle Girl wrote:

> Ok, let me add a stipulation. For IE6 on Windows XP, I want to
> make a list of form elements that are resistant to CSS.

IE6/XP ... probably about 60% or less of your (average) audience.

Would you please share where you get that statistic from? My
sources show a MUCH higher percentage than that.


'Tis about what I see on one of my sites. I have normally around 80%
IE, but quite a lot of them are -not- using XP. Lots of Win98, still
Win95.


Ok, that makes sense. But you said IE6 - perhaps I'm way misinformed,
but I thought IE6 won't run on win9x?


It will work with W98/ME (as Els confirmed), and probably not on W95.

In my last statement, I said "normally around 80% IE", not IE6. I still
get a fair number of IE 5.0 and 5.5, and the occasional IE4. So, of the
total IE users, it works out to be somewhere around 60% of visitors
using IE6 _and_ XP. It's not a technical site; it's a motorcycle club.

<snip>

--
-bts
-Warning: I brake for lawn deer
Feb 16 '06 #12

P: n/a
Els wrote:
Tony wrote:
but I thought IE6 won't run on win9x?


It does. Upgraded to IE6 from IE4 on a very old Win98 thing just the
other day.


Well, then I was obviously misinformed :)

No big surprise, though, since I haven't used Win 98 for ages...

Feb 16 '06 #13

This discussion thread is closed

Replies have been disabled for this discussion.