The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS currency symbol aligned left, numbers aligned right

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #254369

    Hi, a newbie to this site but hoping someone knows the answer!

    I have an HTML table with many currency values using different currencies. (e.g. $123,000 €1,234, etc)

    Is there a way to have the currency symbol align to the left of the cell while the value aligns to the right? I’m assuming CSS can do this but I just don’t know how ;)


    How about using a pseudo element? This idea

    More about pseudo elements


    My client has told me that I’m limited to inline CSS but I’ll see how I can use the stuff in the links you provided. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.