printing to a specific column?

Discussion in 'HTML' started by richard, Aug 18, 2008.

  1. richard

    richard Guest

    Hope this makes sense.

    I have two lines of text.
    the first line has two phrases. The second line has one phrase.


    ABCdef.............text
    ........................data

    Without the use of tables, is it possible to put "data" where I want
    it so it lines up with "text"?

    The . is just for reference. In real use it would be a blank space.
    richard, Aug 18, 2008
    #1
    1. Advertising

  2. richard

    richard Guest

    On Mon, 18 Aug 2008 02:05:07 -0700, richard <>
    wrote:

    >
    >Hope this makes sense.
    >
    >I have two lines of text.
    >the first line has two phrases. The second line has one phrase.
    >
    >
    >ABCdef.............text
    >.......................data
    >
    >Without the use of tables, is it possible to put "data" where I want
    >it so it lines up with "text"?
    >
    >The . is just for reference. In real use it would be a blank space.
    >
    >



    One solution I found was simple.
    <span>
    richard, Aug 18, 2008
    #2
    1. Advertising

  3. On 2008-08-18, richard wrote:
    >
    > Hope this makes sense.
    >
    > I have two lines of text.
    > the first line has two phrases. The second line has one phrase.
    >
    >
    > ABCdef.............text
    > .......................data
    >
    > Without the use of tables, is it possible to put "data" where I want
    > it so it lines up with "text"?
    >
    > The . is just for reference. In real use it would be a blank space.


    Use a monospaced font.

    Not perfect, but close: text-align:right;

    It's a pity there's no mechanism in HTML for dot leaders.

    --
    Chris F.A. Johnson, webmaster <http://Woodbine-Gerrard.com>
    ===================================================================
    Author:
    Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
    Chris F.A. Johnson, Aug 18, 2008
    #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. =?Utf-8?B?SmF2?=

    Is ViwState Page-Specific or UserControl-Specific

    =?Utf-8?B?SmF2?=, Aug 16, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    530
    =?Utf-8?B?SmF2?=
    Aug 16, 2006
  2. Ivan Novick
    Replies:
    2
    Views:
    323
    Ivan Novick
    Dec 23, 2006
  3. wial
    Replies:
    2
    Views:
    813
  4. mazdotnet
    Replies:
    2
    Views:
    394
    Alexey Smirnov
    Oct 2, 2009
  5. William FERRERES
    Replies:
    7
    Views:
    214
    William FERRERES
    Jul 9, 2007
Loading...

Share This Page