<style type="text/css">
.example-ul {
width:620px;height:270px;overflow:hidden;list-style:none;
}
.example-ul .li{
float:right;display:inline;margin-left:9px;width:22px;height:100px;font-size:15px; line-height:14px;word-wrap:break-word;word-break:nomal; background-repeat:no-repeat; background-position:top;
}
</style>
<ul class=".example-date">
<li class=".example-ul .li"><a style="text-decoration:none; " href="#"target="_blank">2009(年)</a></li>
</ul>
我想要的效果是把横的日期竖起来
请问大神怎么改
------解决方案--------------------
- HTML code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> <style type="text/css"> #xuanzhuan { height: 200px; width: 500px; filter: progid:DXImageTransform.Microsoft.BasicImage(Rotation=1); margin:0 0 0 50px; } </style> <h2>css定义实现文字旋转90度垂直显示效果</h2> <div id="xuanzhuan"> css定义实现文字旋转90度角垂直显示效果 </div> </body> </html>
------解决方案--------------------
这个不错
------解决方案--------------------
挺好,哈哈
------解决方案--------------------
不是有现存的样式吗, layout-flow: vertical-ideographic;