Crossbrowser Colors for Input-Fields

M

Matthias S.

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
 
J

John Colclough

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,016
Latest member
TatianaCha

Latest Threads

Top