bootstrap-select, center title -


i'm using https://github.com/silviomoreto/bootstrap-select , trying center select list title, not managed far. i've tried center title using title :

<select class="selectpicker" style="text-align: center;" title="select one"> 

and data-title:

<select class="selectpicker" style="text-align: center;" data-title="select one"> 

and using data-hidden option:

<option data-hidden="true" class="text-center" value="">select one</option> 

however, title aligned on left. tips might work?

maybe

text-align-last: center; 

would help


Comments

Popular posts from this blog

java - Could not retrieve pre-bound Hibernate session - Could not obtain transaction-synchronized Session for current thread -

java - ConcurrentModificationException upon committing transaction with Hibernate -

java - Not entering the success part of http response in angularjs using spring mvc -