uj*****@gmail.com wrote:
I am in asp.net and have a form with an asp textbox.
Irrelevant. It's the final HTML and CSS that matters not what server
side processes you use to generate it.
I specify a
cssclass for the text box having the following:
.Textbox
{
font-size: 8pt;
list-style-type: none;
background-color: white;
text-decoration: none;
}
In XP, the attribute 'background-color: white;' causes the textbox to
loose its nice XP style border. If I take out that line it stays nice
and uses the rest of my style.
Any idea why this is or how to overcome?
The Win XP style border on text inputs is roughly equivalent to:
border: 1px solid #A5ACB2; padding: 2px;
(The colour may vary with the user's chosen XP colour scheme, so
instead you can try to work out which, if any, of the values at
http://www.w3.org/TR/CSS21/ui.html#system-colors is used.)
So add those styles and your border will look like the default XP
border even for users not using XP (or XP users who use the classic
styling rather than the XP styling).
Now, considering your attitude elsewhere in this thread, this is likely
to be the last time I or anyone else here will help you.
Steve