OpenIntro
03-09-2005, 07:19 PM
Hi there! I am currently attempting to build a list of styles for a default set of HTML pages....what I mean is that the pages are going to have the styles in the HEAD of the html page, but the content in the BODY is going to be dynamically generated....
My question is if it is possible to have seperate styles for for fields, specifically TEXT BOXES and PUSH BUTTONS, without using CLASSES. Because these pages are built dynamically, it's not possible to use classes in the field.
<STYLE TYPE="text/css">
<!--
INPUT {
background: #99CCFF;
color: #17268C;
font-size: 12px;
font-family: Arial;
border: 1px solid #17268C
}
-->
</STYLE>
The above is what I have so far, but the style above is applying the same color and borders to my buttons and my input boxes. I would really like to make them seperate.
Any help would be appreciated!
My question is if it is possible to have seperate styles for for fields, specifically TEXT BOXES and PUSH BUTTONS, without using CLASSES. Because these pages are built dynamically, it's not possible to use classes in the field.
<STYLE TYPE="text/css">
<!--
INPUT {
background: #99CCFF;
color: #17268C;
font-size: 12px;
font-family: Arial;
border: 1px solid #17268C
}
-->
</STYLE>
The above is what I have so far, but the style above is applying the same color and borders to my buttons and my input boxes. I would really like to make them seperate.
Any help would be appreciated!