AnsweredAssumed Answered

identify template and formating

Question asked by jay.kapalczynski on May 29, 2014
Latest reply on Jun 2, 2014 by jay.kapalczynski
Is there a way to create some separation between label and value in a template?
I can put "...." in there but it does not look very pleasing to the eye. 

For instance my label character lengths vary....so some sort of indent to get all the rows to line up?

What I would like is ... but without the multiple underscores...

Label         Value
Label         Value there is more there
__________continuing on the next line
Label         some more values

 var templateWarbler = new InfoTemplate();           templateWarbler.setTitle("${Species}");           templateWarbler.setContent               ("<b>Species</b>...... ${Species}<br/>" +               "<b>Year</b>......... ${Year}<br/>" +       "<b>Date</b>......... ${Date}<br/>" +       "<b>Observer</b>... ${Observer}<br/>" +       "<b>Count</b>....... ${Count_}<br/>" +       "<b>Bio Info</b>..... ${Bio_info}<br/>" +       "<b>Habitat</b>........ ${Habitat}<br/>" +       "<b>Elev ft</b>........ ${Elev_ft}<br/>" +       "<b>Location</b>..... ${LocDescrip}<br/>" +       "<b>DataSource</b>. ${DataSource}<br/>" +       "<b>Coord</b>.......... ${Lat}<br/>"  );

Outcomes