Hello Kavitha,

Use this sample HTML Code:

<HTML>
<HEAD>
<TITLE>Test Page</TITLE>
<style type="text/css">
.vert{
left:1px;
top:5px;
width:1px;
writing-mode: tb-rl;
}
</style>
</HEAD>

<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#FF0000" VLINK="#800000" 
ALINK="#FF00FF" BACKGROUND="?">
<span class="vert">this will be displayed vertically now</span>
</BODY>
</HTML>

Look at the style :

.vert{ left:1px; top:5px; width:1px; writing-mode: tb-rl; }

This is applied to the text in the <Span> tag. Hope this helps.


Thanks and regards,
Pazhanikanthan. P (Paz)

Consultant for AXA,
Senior Software Engineer,
HCL Australia Services Pty. Ltd.
Off   : +61-3-9618-4085
Mob : +61-0411-354-838




Kavita Mehta <[EMAIL PROTECTED]>
21/08/2006 07:04 PM
Please respond to "Struts Users Mailing List"
 
        To:     Struts Users Mailing List <user@struts.apache.org>
        cc: 
        Subject:        rotating text


Is it possible with HTML or CSS to rotate text as its displayed in the
browser?  Or is this something better done with a graphic?
Id like to rotate a specifc line of text 90 degrees counter clockwise so
that the first letter of the first word is at the 'bottom' of a table 
cell.

Thanks
Kavita


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_____________________________________________________________________ 
This e-mail has been scanned for viruses by MCI's Internet Managed 
Scanning Services - powered by MessageLabs. For further information 
visit http://www.mci.com



*********************************************************************************
Important Note
This email (including any attachments) contains information which is 
confidential and may be subject to legal privilege.  If you are not 
the intended recipient you must not use, distribute or copy this 
email.  If you have received this email in error please notify the 
sender immediately and delete this email. Any views expressed in this 
email are not necessarily the views of AXA.   Thank you.
**********************************************************************************

Reply via email to