DarryBoy
04-27-2003, 04:19 PM
I have multipile external css that I would like to position to different areas.
I have 2 tables and within these tables are fields. I have defined a css for the text fields as follows:
INPUT, TEXTAREA {
font-family: serif;
padding: 2px;
font-size: 13px;
color: Black;
font-weight: bold;
text-align: left;
border: 1px solid Black;
}
INPUT, TEXTAREA {
font-family: serif;
padding: 2px;
font-size: 13px;
color: Black;
font-weight: bold;
text-align: center;
border: 1px solid Black;
}
INPUT, TEXTAREA {
font-family: serif;
padding: 2px;
font-size: 13px;
color: Black;
font-weight: bold;
text-align: right;
border: 1px solid Black;
}
The properties of all the css are the same except the text-align. How do I make my first table use only the fist css and the second table that has 5 columns, use the second css in the first column and the third css in the 5th column.
Please show me in code how this is achieved?
Kind regards
Darryn
I have 2 tables and within these tables are fields. I have defined a css for the text fields as follows:
INPUT, TEXTAREA {
font-family: serif;
padding: 2px;
font-size: 13px;
color: Black;
font-weight: bold;
text-align: left;
border: 1px solid Black;
}
INPUT, TEXTAREA {
font-family: serif;
padding: 2px;
font-size: 13px;
color: Black;
font-weight: bold;
text-align: center;
border: 1px solid Black;
}
INPUT, TEXTAREA {
font-family: serif;
padding: 2px;
font-size: 13px;
color: Black;
font-weight: bold;
text-align: right;
border: 1px solid Black;
}
The properties of all the css are the same except the text-align. How do I make my first table use only the fist css and the second table that has 5 columns, use the second css in the first column and the third css in the 5th column.
Please show me in code how this is achieved?
Kind regards
Darryn