faqts : Computers : Programming : Languages : JavaScript : Document

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

9 of 12 people (75%) answered Yes
Recently 4 of 7 people (57%) answered Yes

Entry

How can I display text at 45 degree angle

Jan 12th, 2001 10:28
Juergen Thelen, ameet vasu,


Neither HTML, nor JavaScript is able to display text at a specified 
angle (i.e. rendering a text baseline rotated by x degrees). All 
standard text outputs are always rendered with horizontal baseline.
You'll have to use graphics to display texts a specific angles...
If you only want to change output direction (retaining the standard 
horizontal baseline) like this
          s
         e
        e
       r
      g
     e
    d
   5
  4
just have a look at:
  http://www.faqts.com/knowledge_base/view.phtml/aid/954/fid/128
Hth, Juergen