• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1663
  • Last Modified:

text orientation

Is text orientation is possible in HTML?

I want to display a table with its heading text oriented in 90 degree (same like in Excel - Format Cells - Alignment - Orientation).

<table>
<tr><td orientation=90>Head1</td><td orientation=90>Head2</td></tr>
<tr><td>data1</td><td>data2</td></tr>
</table>

Is this possible in HTML code?
0
siva_gk
Asked:
siva_gk
1 Solution
 
RijaGroupCommented:
In short, No.

The link above shows a really hacky way to do it, but it's very messy.

I do believe CSS 3 may support things like this, but don't quote me on that.

The easiest way to achieve text at an angle like that would be an image containing the text.

Remember only do this for short unimportant bits of text, as text in images is not crawlable by search engines. :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now