try using various padding and width styles w/ CSS .
---- Original message ---- >Date: Fri, 7 Oct 2005 13:50:13 -0400 >From: sri <[EMAIL PROTECTED]> >Subject: Re: adding spaces to the select item label >To: users@myfaces.apache.org > > Anybody has any ideas ? > > On 10/7/05, sri <[EMAIL PROTECTED]> wrote: > > Hi > > I have a selectOneListBox with several entries. > I need to organize them by indenting. I have added > spaces, but obviously the spaces are ignored. I > have added " " but that was converted to > "&nbsp;" when rendered, so that didn't work > either. Is there any way to ESCAPE the html for > selectOneListBox like the escape attribure for an > outputLabel. > > I am trying to achieve some thing like below in > the list box, I can do this in a static html. > > Value Header 1 > Value One1 > Value Two1 > Value Header 2 > Value One2 > Value Two2 > Value SubHeader1 > SubValue One > SubValue Two > ..... > > The follwoing works fine (static html) > <select name="templates" > id="templates"> > <option > value='All'>All</option> > <option > value=''>Public</option> > <option > value='DonationRequest'> Class of > 1999</option> > <option > value='SchoolFestival'> Students of > Mrs. XYZ</option> > <option > value='DeathNotification'> Participants > of ABC Sport Event</option> > <option value=''>Other > Queries</option> > <option > value=''> BADAMS (My Queries)</option> > <option > value='DonationRequest'> Cl ass > of 1999</option> > <option > value='SchoolFestival'> Stu dents > of Mrs. XYZ</option> > <option > value='DeathNotification'> Participants > of ABC Sport Event</option> > <option > value=''> HPOTTER</option> > <option > value='DonationRequest'> Cl ass > of 1999</option> > <option > value='SchoolFestival'> Stu dents > of Mrs. XYZ</option> > <option > value='DeathNotification'> Participants > of ABC Sport Event</option> > <option > value=''> JSMITH</option> > <option > value='DonationRequest'> Cl ass > of 1999</option> > <option > value='SchoolFestival'> Stu dents > of Mrs. XYZ</option> > <option > value='DeathNotification'> Participants > of ABC Sport Event</option> > </select> > > TIA > Srikanth Dennis Byrne