Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

CSS text align question

  • 06-10-2006 10:05am
    #1
    Closed Accounts Posts: 235 ✭✭


    Apologies if I'm asking a really dumb question and I definitely feel I'm missing something obvious but I've started banging my head against the wall on this one.

    I'm doing the whole re-design without tables bit and I've hit a stumbling block.

    What I basically want to do is have a variable length of text with a status at the end of the line (with the end bit lining up vertically).

    Since that doesn't make a whole lot of sense, here's a sample:
    HeadlineHeadline....new
    Headline................old
    Headlinehead.........old
    Hea.....................new

    What I'm wondering is, how I get the status column to right-align and the headline's to left align with the variable space between them.

    Any help would be greatly appreciated.


Comments

  • Closed Accounts Posts: 1,200 ✭✭✭louie


    <div style='text-align:left;'>
      <div style='text-align:right;float:right;width:100px;'>old news</div>
    Headline news
    </div>
    


  • Closed Accounts Posts: 235 ✭✭Yerac


    That's perfect, thanks for your help louie.


Advertisement