asfman
android developer
posts - 90,  comments - 213,  trackbacks - 0
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <title>Untitled Document</title>
        <style>
           
            .example-date {
                background-color: #987;
                float: right;
                position: relative;
                padding: 45px 5px 0px;
                margin-left: 10px;
            }
           
            .example-date .month {
                text-transform: uppercase;
                font-size: 25px;
            }
           
            .example-date .day {
                font-size: 40px;
                line-height: 45px;
                position: absolute;
                left: 5px;
                top: 0px;
            }
           
            .example-date .year {
                display: block;
                position: absolute;
                right:-8px;
                *right: -5px;
                top: 12px;
                *top:15px;
                -webkit-transform: rotate(-90deg);
                -moz-transform: rotate(-90deg);
            }
             
        </style>
        <!--[if IE]>
                <style>
                .example-date .year {
                    filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
                    right:0;
                    top:5px;
                }
                </style>
            <![endif]-->
   
    </head>
    <body>
    <body>
        <div class="example-date">
            <span class="day">07</span>
            <span class="month">八月</span>
            <span class="year">2009</span>
        </div>
    </body>
</html>
posted on 2009-09-24 18:23 汪杰 阅读(119) 评论(0)  编辑 收藏 引用 所属分类: divandcss
只有注册用户登录后才能发表评论。

<2019年11月>
272829303112
3456789
10111213141516
17181920212223
24252627282930
1234567

常用链接

留言簿(15)

随笔分类(1)

随笔档案(90)

文章分类(727)

文章档案(712)

相册

收藏夹

http://blog.csdn.net/prodigynonsense

友情链接

最新随笔

搜索

  •  

积分与排名

  • 积分 - 384921
  • 排名 - 6

最新随笔

最新评论

阅读排行榜

评论排行榜