|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
CSS on form objects problem
I do extensive CSSing on the web I am building at this moment.
I have a little problem when doing some styles on <input> form objects. I want the input text boxes to have a certain bgcolor and 1px border. But I have a problem on this: if I do: PHP Code:
I got what I want, with the exception of that the border has a default size. then, I do this: PHP Code:
The borders are gone. I tried with border: 10px, to get an extreme result but the input textboxes remain borderless. But If I remove the background color tag, the border appears. An image showing this: ![]() |
|
#2
|
|||
|
|||
|
That should work.
input { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 9px; background: #CFE200; border-style:solid; border-width:1px; } |
|
#3
|
||||
|
||||
|
it does, thx
![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS on form objects problem |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|