You Are Here Home > CSS

CSS

Rotate Text Using CSS

This is not a standard property yet but here it is:

.THE_TEXT_CLASS {
   filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); /* IE */
   -webkit-transform: rotate(-90deg);
   -moz-transform: rotate(-90deg);
   -o-transform: rotate(-90deg); /* Opera */
}

For now, it’s best if you use images instead…

Rotate Text Using CSS
Comments (0)   Filed under: CSS,HTML/XHTML,Web Design,Web Development   Posted by: Hamid

Enforce a Minimum Height For a Box

Here is the CSS:

.your-element {
   height: 500px;
   min-height: 500px;
   height: auto;
}

Of course, you might change 500px to whatever height you wish…

Enforce a Minimum Height For a Box
Comments (0)   Filed under: CSS   Posted by: Hamid
« Newer PostsOlder Posts »