Currently I have one CSS that when applied on Table, controls all text
elements.
.BodyText
{
font-weight: bold;font-size: 11px;color: black;
line-height: 16px;font-family: Verdana, Arial, Helvetica, sans-serif;
TEXT-DECORATION: none;
}
I want all input boxes in this table to have a common style. I have a style
that is currently applied to each input box. Can I specify that style using
BodyText?
I want something like :
.BodyText INPUT
{
border-right: #a9a9a9 1px solid;border-top: #a9a9a9 1px solid;border-left:
#a9a9a9 1px solid;border-bottom: #a9a9a9 1px solid;
font-size: 12px;font-style: normal;font-family: Arial, Helvetica,
sans-serif;background-color: #ffffff;
}
So that when I say <Table class="BodyText" ...> then all labels and input
boxes have specified Style.
Please suggest what should I do.
Thanks
Manish
> I have following scenario common on all my forms:
> - Tables contain 2 columns, first contains captions , second contains
> Controls
>
> Currently I have one CSS that when applied on Table, controls all text
> elements.
> I want all input boxes in this table to have a common style. I have a
> style that is currently applied to each input box. Can I specify that
> style using BodyText?
> So that when I say <Table class="BodyText" ...> then all labels and
> input boxes have specified Style.
I'm affraid that's impossible. You will have to define for each input
box the class ".BodyTextINPUT" (note, you have to give it a one-word
name, so no spaces!). So you will have to copy-paste a few times, no big
deal ;-)
greetz
<T!M> aka wEEdpEckEr