|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
This is my first post as I just discovered this site so... hello everyone. I am developing a site using PHP and the style is given by a .css file. I have the following css selector for the input elements but this class doesn't work with <SELECT> elements... what can I do? I want everything to look the same. Code:
input.inputinfo {
color : Black;
font-size : 10px;
font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
font-style : normal;
font-variant : normal;
font-weight : normal;
border-style : solid;
border-width : 1px;
border-color : #cccccc;
}
Thanks in advanced
__________________
icaam |
|
#2
|
|||
|
|||
|
Change this:
Code:
input.inputinfo {
...to this: Code:
input.inputinfo, select.inputinfo {
Or really, you just make the rules apply to the form element. Hope that helps! Happy coding! ![]() |
|
#3
|
|||
|
|||
|
Thanx a lot... it worked. I also tried placing just the class:
Code:
.inputinfo {
and it worked fine too! Happy new year! |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > <SELECT> element using full CSS ??? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|