Vertical (rotated) text in HTML table

.box_rotate { -moz-transform: rotate(7.5deg); /* FF3.5+ */ -o-transform: rotate(7.5deg); /* Opera 10.5 */ -webkit-transform: rotate(7.5deg); /* Saf3.1+, Chrome */ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */ -ms-filter: “progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)”; /* IE8 */ } <div>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus vitae porta lectus. Suspendisse dolor mauris, scelerisque ut diam vitae, dictum ultricies est. Cras sit amet … Read more

How to set the font style to bold, italic and underlined in an Android TextView?

This should make your TextView bold, underlined and italic at the same time. strings.xml <resources> <string name=”register”><u><b><i>Copyright</i></b></u></string> </resources> To set this String to your TextView, do this in your main.xml <?xml version=”1.0″ encoding=”utf-8″?> <TextView xmlns:android=”http://schemas.android.com/apk/res/android” android:id=”@+id/textview” android:layout_width=”fill_parent” android:layout_height=”fill_parent” android:text=”@string/register” /> or In JAVA, TextView textView = new TextView(this); textView.setText(R.string.register); Sometimes the above approach will not … Read more