|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
CSS and Inheritance
I am wondering if it is possible to use previously defined CSS variables in later css definitions? I currently have a font type css variable called "texto1" that I would like to use in conjuction with an "input" variable that defines positioning and the size of my input types. Is this possible??
Code:
--both of the following need the previously specified font called "texto1"--
input.addRemoveButton {width:75px;}
input.inputBox {width:150px;}
Thanks for any help |
|
#2
|
||||
|
||||
|
Code:
<input class="addRemoveButton texto1" …> <input class="inputBox texto1"…> gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing. My html and css workshop, demos and tutorials. Ask a better question, get a better answer. |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS and Inheritance |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|