"GwenP" <(E-Mail Removed)> wrote in message
news:77A596BC-68B4-4DC8-AB5D-(E-Mail Removed)...
> Anyone know the syntax in ASP that shows 2 values in a drop down combo
> with
> a tab between them
One of the most important things to remember about ASP.NET (or any similar
technology) is that, no matter how clever it is, when all is said and done,
its fundamental job is to stream HTML down to a client browser in response
to a request from that client browser...
Generally speaking, the tab character is completely ignored by HTML
rendering engines, and will be treated simply as white space, so there is no
point in rendering a tab character to be streamed to the client browser - it
will simply be ignored...
Pretty much your only option with something like this is to use non-breaking
space characters i.e. - of course, you'll have to calculate how many
you need, and remember that non-proportionally-spaced fonts are always going
to mess these things up a little bit...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net