|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
CSS in IE and Opera
Using the following selector:
Code:
input#add_form[type="text"] {
font-family: arial;
font-size: 11;
width: 332px;
border-top: 1px solid #003366;
border-right: 1px solid #003366;
border-bottom: 1px solid #003366;
border-left: 1px solid #003366;
background-color: #dddddd;
margin-top: 2px
}
It works in Opera 7.20, but in IE 6.0 it doesn't. I'm told there is an easy work-around for this. Something like a shorcut selector or something. Any help's appreciated. |
|
#2
|
||||
|
||||
|
There's no "shortcut" that I know about. IE does not support item attribute selectors (the stuff in the square brackets), so AFAIK, you will need to make a separate class for your text input boxes.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > Programming Tools > CSS in IE and Opera |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|