Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forcing readonly color within one style
Message
From
09/11/2006 02:22:06
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Forcing readonly color within one style
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01168351
Message ID:
01168351
Views:
57
Has anyone found a way to force a readonly color as part of the regular INPUT style? I would like to avoid including a class name whenever I have to put READONLY in the ASP.NET page?

Basically, I would like to have something like this:
Input
{
   Font-Family: Arial, Helvetica, sans-serif;
   Font-Size: 13px;
   Margin-Top: -1px;
   Color: #000000;
   ReadOnlyColor: #AAAAAA;
}
or something like this:
Input
{
   Font-Family: Arial, Helvetica, sans-serif;
   Font-Size: 13px;
   Margin-Top: -1px;
   Color: #000000;
}

Input ReadOnly
{
   Color: #AAAAAA;
}
But, neither both are supported.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Reply
Map
View

Click here to load this message in the networking platform