Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    May 2009
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    how do I rotate text vertically in HTML?

    Dears,

    I need to write text in the HTML page but I need it to appear vertically rotated not horizentally.

    How can I do this?

    Thanks

  • #2
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    17,729
    Thanks
    202
    Thanked 2,507 Times in 2,485 Posts
    Turn your screen upside down!

  • #3
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    25,020
    Thanks
    75
    Thanked 4,323 Times in 4,289 Posts
    No, no...not upside down! Sideways.

    Won't work if your screen is an IPhone, though. It automatically rotates the screen to keep the bottom of the window at the bottom of the screen.

    Seriously...

    There isn't any general solution in HTML. There *are* some solutions where you can rotate a "panel", but they only work in some browsers.

    You could certainly use JavaScript to put some text in a narrow <div> that would then look like this:
    Code:
    T
    h
    i
    s 
    
    i
    s
    
    v
    e
    r
    t
    i
    c
    a
    l


  •  

    Posting Permissions

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