user1592953
user1592953

Reputation: 135

Using an HTML select in form

For some reason I cannot get the Select option to go inline with the choose file, inside the share-actions-left div. What am I doing wrong?

http://jsfiddle.net/Ey9vA/

Thanks

Upvotes: 0

Views: 85

Answers (3)

Daniil Ryzhkov
Daniil Ryzhkov

Reputation: 7596

#share-action should be inline block

#share-action {
    display: inline-block;
}

Upvotes: 0

Michael Freytag
Michael Freytag

Reputation: 155

I believe what you're looking to to would be handled by making the elements inline block similar to what @Daniil is saying. To get your code to work as is add this

#share-actions-left *{
    display:inline-block;
}

Upvotes: 1

Brett
Brett

Reputation: 2823

Add the following CSS to get the select on the same line as the upload button:

#share-action{float: left;}

Upvotes: 0

Related Questions