I wonder how to set vertical font. Is it possible or do I need to purchase special font for that?
Thanks for any help,
After reading the CSS2 reference at www.w3schools.com, there doesn't seem to be a way to write text vertically on the screen. You can set the text to be displayed left to right, or right to left, though.
If there is a font out there that displays letters vertically, or at least rotated 90 degrees, that would work, but then you'd have to get into downloadable fonts.
Your best bet is to create that text in a graphics program like Photoshop or Paint Shop Pro. You may even be able to do text vertically in Flash.
I was kind of hoping that I could do it with CSS, but if not, I will just make gif's in Photoshop.
Thanks for your reply.
you could make a div which is so narrow that the single characters have to line up vertically. Quite a hack and not tested with many browsers, but it worked for me and some Japanese characters..
Hi there kariba,
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
userString='This string will be vertically rendered';
<div id="vertical" class="hide"></div>
I could have thought that I read a page that idealized the notion that using the charset-iso of "traditional chinese" (vertical text) could be used, but with English letters, and achieve this. I didn't bookmark or give it much interest though... It sounds like a "cssplay" thing but I cannot say for sure...
I build for: Firefox and tweak for IE
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)