Page 1 of 1

Text wrapping into a select drop down menu

Posted: Fri Jul 17, 2009 7:20 am
by kavita_delian
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?

Re: Text wrapping into a select drop down menu

Posted: Fri Jul 17, 2009 8:23 am
by spider.nick
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?
I have not tried this this, but you could throw a <br /> in between the <option></option> tags.

Code: Select all

if( strlen($string) > 20 )
Nick