473,668 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form elements resistant to styles

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
12 1448
"Giggle Girl" <mi*******@gmai l.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
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
"Giggle Girl" <mi*******@gmai l.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
Giggle Girl <mi*******@gmai l.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
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
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
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
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
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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
40718
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div style="display:none"> can be displayed by setting the style attribute to "display:", or hidden with "display:none". This gives the illusion that the person filling out the form is switching from page to page...without the overhead of extra hits on the server,...
4
5780
by: sean | last post by:
HI All, I have a function that validates a form, when the function returns true or false it still does not submit the form. I am using a <div> tag with text to submit the form. I have tried the following ways to make the form submit & validate at the same time; 1. I have tried the onsubmit function at the top of the form, this seems to only work with a form button or an image.
6
2736
by: Chris Styles | last post by:
Dear All, I've been using some code to verify form data quite happily, but i've recently changed the way my form is structured, and I can't get it to work now. Originally : The form is called "form1", and I have selects called "PORTA", "PORTB" ... etc...
5
7400
by: Markus Ernst | last post by:
Hi I have a validation problem with a form and nested divs. I understand what the problem is, but I don't see how to fix it. This is my normal page structure, and it validates: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head>
11
9274
by: Christopher Benson-Manica | last post by:
Can I make a <textarea> and an <input type="checkbox"> invisible? -- Christopher Benson-Manica | I *should* know what I'm talking about - if I ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
16
2884
by: Philippe C. Martin | last post by:
Hi, I am trying to change the data in a form field from python. The following code does not crash but has no effect as if "form" is just a copy of the original html form. Must I recreate the form order to do that ? My point is for the client to be able to re-read the modified data.
2
1843
by: luke.crouch | last post by:
My server-side php script is generating an xml response with the following structure: <thread class='Columns'> <Id class='Column dataDetail'>12345</Id> <Command class='Column dataDetail'>SET</Command> .. .. .. </thread>
1
1869
by: CES | last post by:
All, Sorry for the question because I'm pretty sure I know the answer... Is their a way of changing the Border or Arrow color of a Select Element?? I've tried all of the foe CSS scrollbar-face, scrollbar-arrow but still I get the System Default. Thanks in Advance. - CES
4
2424
by: Mel | last post by:
how can i change disabled background on all form elements ?
0
8459
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8374
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8890
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8791
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8575
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7398
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6206
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2784
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.