Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

input[type=select] doesn't work for me [duplicate]

Possible Duplicate:
CSS Select Selector

I'm trying to add space on the left of my dropdownlist without success.

Here is what I tried:

.editor-field input[type=select]
{
    margin-left: 250px;
}

Any idea?

like image 746
Bronzato Avatar asked Jan 12 '12 16:01

Bronzato


2 Answers

There is no input[type=select]. You probably meant select, as in

.editor-field select
{
    margin-left: 250px;
}
like image 114
BoltClock Avatar answered Oct 23 '22 08:10

BoltClock


A <select> box isn't an <input type="select" />. It's a <select>;

.editor-field select {
    margin-left: 250px;
}

should work.

like image 10
Ry- Avatar answered Oct 23 '22 08:10

Ry-