Text wrapping into a select drop down menu
Posted: Fri Jul 17, 2009 7:20 am
In a select drop down menu, a very long text is not showing completely. Is it possible to display text in two lines into a select drop down box?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
I have not tried this this, but you could throw a <br /> in between the <option></option> tags.kavita_delian wrote:In a select drop down menu, a very long text is not showing completely. Is it possible to display text in two lines into a select drop down box?
Code: Select all
if( strlen($string) > 20 )