Bigquery แนะนำ การเขียนเว็บไซต์ ด้วยการใช้ภาษา php html css webmaster tips & tools BigQuery.com พร้อมที่จะถ่ายทอดประสบการณ์ การทำเว็บไซต์แบบง่าย.. เพื่อเป็นพื้นฐานในการเขียนเว็บไซต์ และเพิ่มลูกเล่นให้กับเว็บไซต์ อีกทั้งเป็นทางเลือกในการสร้างเว็บไซต์ด้วยเครื่องมือต่างๆ

Monday, January 21, 2008

Rotate text with CSS


if you wish to rotate text, and if your 'text' is not Chinese/Japanese/Korean ideograph character, then you can simply use a CSS style, e.g. (below example I didn't test because I use Linux)
code:


This text should be rotated vertically


details:http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/writingmode.asp

This is an IE feature, mozilla/opera does not support it (and does not plan to). That's why my above example is not tested. This happens to be the *only* feature that I prefer IE over firefox/mozilla.

source : http://www.ozoneasylum.com/11093

0 comments: