Results 1 to 5 of 5

Thread: Differant Alignment within TD Tags

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312

    Differant Alignment within TD Tags

    what I would like to do is have some text in a TD on the left, then some on the right, only for some reason i cant do this, i have tryed...

    Code:
    <td>blah<right>blah</td>
    <td>blah<align="right">blah</td>
    <td>blah<align=right>blah</td>
    <td>blah<valign=right>blah</td>
    <td>blah<valign="right">blah</td>
    none of this works, any help ?

    thanks
    Power to 2000 Electronic Donkeys!
    www.edonkey2000.com
    I hate case sensitivity... all you get down the M1 is "are we there yet" and "ouch, watch the bumps".

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    <td>
    <div align="left">blah</div>
    <div align="right">blah</div>
    </td>
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  3. #3
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Or just put it in the TD:

    <td align="right">blahblah</td>
    <td align="left">blahblah</td>

    Or better still (in my opinion):

    <td style="text-align:right;">blahblah</td>
    <td style="text-align:left;">blahblah</td>

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2001
    Location
    England
    Posts
    312
    Originally posted by Rick Bull
    Or just put it in the TD:

    <td align="right">blahblah</td>
    <td align="left">blahblah</td>

    Or better still (in my opinion):

    <td style="text-align:right;">blahblah</td>
    <td style="text-align:left;">blahblah</td>
    you read incorrectly i want 2 alignments in the same TD But this DIV seems to work fine seems to work alright

    thanks!
    Power to 2000 Electronic Donkeys!
    www.edonkey2000.com
    I hate case sensitivity... all you get down the M1 is "are we there yet" and "ouch, watch the bumps".

  5. #5
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    Ah right I see I've been reading loads of things wrong lately, must be my brain is failing or something

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width