Friday, May 6, 2011

Rotate DIV by 90 degree

Here, I am going to share the styles found on internet to rotate Div. Unfortunately, it doesn't work in IE. Any ideas?

style="-webkit-transform: rotate(90deg); -moz-transform: rotate(90deg); filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);"

Wednesday, May 4, 2011

Fix the text length inside DIV

Be The First To Comment

Here are two divs for controlling characters length inside div.

    <div style="width:250px;border:solid 1px red; height:30px;word-wrap:break-word;overflow:hidden;text-overflow:ellipsis-word">
                 <div style="border:solid 1px green;padding:none; height:30px">
                 asdfasdfasdfasdfasdfasdfasdfa asdfasdfasdfasdfasdfasdfasdf asdfadf asdf asdf asdf asdfasdfasdfasdf asdf

© 2011 GIS and Remote Sensing Tools, Tips and more .. ToS | Privacy Policy | Sitemap

About Me