[Tab char] how to have it in a Label ?

Discussion in 'ASP .Net' started by teo, Sep 10, 2007.

  1. teo

    teo Guest

    How to insert a Tab char (or workaround)
    in a Label on an Aspx page (Fx2.0) ?

    So to have:

    Tim Willis
    John Adams
    Robby King
    Sam Elliot
    teo, Sep 10, 2007
    #1
    1. Advertising

  2. teo

    bruce barker Guest

    in html tab is a whitespace, so its treated the same as a space.
    normally you would use a table for the desired layout.

    -- bruce (sqlwork.com)

    teo wrote:
    > How to insert a Tab char (or workaround)
    > in a Label on an Aspx page (Fx2.0) ?
    >
    > So to have:
    >
    > Tim Willis
    > John Adams
    > Robby King
    > Sam Elliot
    bruce barker, Sep 11, 2007
    #2
    1. Advertising

  3. If you do not have explicit control over formatting then u might as well use
    <pre> which preseves the spaces, line breaks, etc.

    - Harshal

    "bruce barker" <> wrote in message
    news:...
    > in html tab is a whitespace, so its treated the same as a space. normally
    > you would use a table for the desired layout.
    >
    > -- bruce (sqlwork.com)
    >
    > teo wrote:
    >> How to insert a Tab char (or workaround)
    >> in a Label on an Aspx page (Fx2.0) ?
    >>
    >> So to have:
    >>
    >> Tim Willis
    >> John Adams
    >> Robby King
    >> Sam Elliot
    Harshal Pachpande, Sep 13, 2007
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. wwj
    Replies:
    7
    Views:
    546
  2. wwj
    Replies:
    24
    Views:
    2,499
    Mike Wahler
    Nov 7, 2003
  3. Ben Pfaff
    Replies:
    5
    Views:
    470
    Tristan Miller
    Jan 17, 2004
  4. lovecreatesbeauty
    Replies:
    1
    Views:
    1,034
    Ian Collins
    May 9, 2006
  5. Knut Krueger
    Replies:
    8
    Views:
    263
    Knut Krueger
    Aug 20, 2013
Loading...

Share This Page