473,396 Members | 1,992 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Crossbrowser Colors for Input-Fields

Hi,

is there a way to color an Input-field (Background, Border and
BorderStyle) so that the colors/options are available in all common
browsers?

When I use the Properties Window in VS2003, colors and options are
displayed correctly in IE, but screw up in Firefox.

Can this be done using css? If so, can somebody provide a short snippet
of how to do it?

Thanks in advance and greetings from Berlin.

Matthias
Nov 19 '05 #1
2 1133
Aren't sure how cross browser this is and I don't have multiple ones to
check so you'll have to have a look yourself.

..inputs{
border-right: #000000 1px solid;
border-top: #000000 1px solid;
border-left: #000000 1px solid;
border-bottom: #000000 1px solid;
background-color: #cccccc;
font-size: 11px;
}

then add class="inputs" into your form tags for HTML controls and for
WebForm controls cssClass="inputs",

hope this helps,
J.

"Matthias S." <postamt@_remove_emvoid_remove_.de> wrote in message
news:eE**************@TK2MSFTNGP12.phx.gbl...
Hi,

is there a way to color an Input-field (Background, Border and
BorderStyle) so that the colors/options are available in all common
browsers?

When I use the Properties Window in VS2003, colors and options are
displayed correctly in IE, but screw up in Firefox.

Can this be done using css? If so, can somebody provide a short snippet of
how to do it?

Thanks in advance and greetings from Berlin.

Matthias

Nov 19 '05 #2
Hi John,

thanks a lot. Exactly what I needed!

Matthias

John Colclough wrote:
Aren't sure how cross browser this is and I don't have multiple ones to
check so you'll have to have a look yourself.

.inputs{
border-right: #000000 1px solid;
border-top: #000000 1px solid;
border-left: #000000 1px solid;
border-bottom: #000000 1px solid;
background-color: #cccccc;
font-size: 11px;
}

then add class="inputs" into your form tags for HTML controls and for
WebForm controls cssClass="inputs",

hope this helps,
J.

"Matthias S." <postamt@_remove_emvoid_remove_.de> wrote in message
news:eE**************@TK2MSFTNGP12.phx.gbl...
Hi,

is there a way to color an Input-field (Background, Border and
BorderStyle) so that the colors/options are available in all common
browsers?

When I use the Properties Window in VS2003, colors and options are
displayed correctly in IE, but screw up in Firefox.

Can this be done using css? If so, can somebody provide a short snippet of
how to do it?

Thanks in advance and greetings from Berlin.

Matthias


Nov 19 '05 #3

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

Similar topics

4
by: multimatum2 | last post by:
Hello, I need to enable/disable input text forms... But... I need to have the same style (color...) in both modes.. Could you help me ? Thanx a lot A small sample... ...
6
by: Danny Lesandrini | last post by:
I'm using an Access database to drive a web site and the colors of various table backgrounds are stored in Access. I want users of the Access database to be able to select colors for the site, but...
11
by: Paul Smith | last post by:
I have a button on my web page the backcolor of which I want to change: btnSample.backcolor = ???????? I want the color to be Gainsboro However I enter Gainsboro or color.Gainsboro I have...
3
by: Steel | last post by:
Hi at all, I'ld want to know if position:absolute is crossbrowser. Infact I cannot position absolutely an element in the some place with fox-pro and MSIE6 There is always a little difference...
4
by: Jmc | last post by:
Hi Need some advice on how to get all colors in an image. I wish to have an input file, in my case it will be a scanned piece of fabric. I would like to first of all gen an array with all the...
0
by: Pablito | last post by:
Hi at all, I have a little problem about position:absolute. I want to position absolutely a menu bar. if I write: menubar {position: absolute;top:5.2em;} with MSIE the menu bar is too height on...
0
by: Sundown | last post by:
I am making a program that needs to grab a string input ie: "green * 10 + white *10 + Blue *10 + Yellow *10 + Red * 20" I am looking to parse only the numbers and colors out of the string. I...
13
by: Pablo | last post by:
Hi at all I'ld like to center a table crossbrowser therefore I wrote: <sryle> table {width:80%;margin-left:auto;margin-right:auto;} </style> firefox work fine but MSIE set the margin to zero...
53
by: brave1979 | last post by:
Please check out my javascript library that allows you to create any layout for your web page, nested as deep as you like, adjusting to width and height of a browser window. You just describe it in...
1
by: par7133 | last post by:
Hi, Yea, XMLHttpRequest give out a crossbrowser problem managing the status change of the connection. Here the solution: var xmlhttp; xmlhttp=null;
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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...
0
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,...

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.