Click here to Skip to main content
11,922,587 members (29,489 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


20 bookmarked

Making Text Upside down using CSS

, 25 Nov 2011 CPOL
Rate this:
Please Sign up or sign in to vote.
Making Text Upside down using CSS


After seeing this message by PompeyBoy3, I wanted the same in CSS, so I have tried & am now posting here.


<title>Text Up side down</title>
<style type="text/css">
	filter:  progid:DXImageTransform.Microsoft.BasicImage(rotation=2);  /* IE6,IE7 */
	ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)"; /* IE8 */
	-moz-transform: rotate(-180deg);  /* FF3.5+ */
	-o-transform: rotate(-180deg);  /* Opera 10.5 */
	-webkit-transform: rotate(-180deg);  /* Safari 3.1+, Chrome */
	position: absolute; 
<div class="txtUpsideDown">Test message</div>

Browser Compatibility

I have tested this script in the following Web browsers:
  • Internet Explorer
  • Mozilla Firefox
  • Google Chrome
  • Safari
  • Opera



This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Web Developer
India India
Coming soon....

You may also be interested in...

Comments and Discussions

GeneralReason for my vote of 5 Nice one. Especially I liked you cov... Pin
RaisKazi20-Dec-11 20:45
memberRaisKazi20-Dec-11 20:45 
GeneralRe: But got excess points because you are a silver author now :) Pin
thatraja20-Dec-11 21:06
mvpthatraja20-Dec-11 21:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.151125.1 | Last Updated 25 Nov 2011
Article Copyright 2011 by thatraja
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid