Diogo Cardoso
Diogo Cardoso

Reputation: 22277

jQueryMobile input types width 100%

How do I set the input types width at 100% in jQueryMobile? Same as the input type button.

Thanks.

Upvotes: 4

Views: 7026

Answers (1)

Diogo Cardoso
Diogo Cardoso

Reputation: 22277

I solved the problem overriding jQueryMobile CSS class's.

.ui-input-text,    
.ui-select
{
    width: 100% !important;
    padding: 0.4em 0!important; 
}

Upvotes: 9

Related Questions