Text wrapping into a select drop down menu
Moderator: General Moderators
-
kavita_delian
- Forum Newbie
- Posts: 1
- Joined: Thu Jul 16, 2009 8:04 am
Text wrapping into a select drop down menu
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?
-
spider.nick
- Forum Commoner
- Posts: 72
- Joined: Wed Jul 15, 2009 12:22 pm
- Location: Overland Park, KS
Re: Text wrapping into a select drop down menu
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 )