Jump to content


Plz help me writing text with right alignment

  • Please log in to reply
1 reply to this topic

#1 umer_izhar

  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 02 October 2006 - 06:35 AM

I want to create pdf but there is a problem i cant find such code or function to write text with right alignment please help me.

#2 Barand

  • Moderators
  • Sen . ( ile || sei )
  • 18,021 posts

Posted 02 October 2006 - 08:59 AM

I use FPDF for creating pdf files (www.fpdf.org)

No problems with right align with that class.

You could always calculate the length of the text in pixels then subtract that from the x pos you want to align to.
If you are still using mysql_ functions, STOP! Use mysqli_ or PDO. The longer you leave it the more you will have to rewrite.

Donations gratefully received


|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users