Skip to Content

Vertical Text?

Is it possible to display text vertically in HTML or HTMLB?

I would like to craete a htmlb:tableView with column-headers that have vertical text (so the text shall be rotated by 90°).

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 13, 2005 at 08:01 AM

    Daniel ,

    It's very much Possible ,

    Just copy the code and Enjoy the Fun

    -


    <html>

    <head>

    <style type="text/css">

    .verticaltext

    </style>

    </head>

    <body>

    <script type="text/javascript">

    //Enter desired vertical text:

    var myverticaltext='<div

    class="verticaltext">JothiVenkatachalam.P</div>'

    var bodycache=document.body

    if (bodycache && bodycache.currentStyle &&

    bodycache.currentStyle.writingMode)

    document.write(myverticaltext)

    </script>

    </body>

    </html>

    -


    Regards,

    J

    Do Reward Pts if this's helpful.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.