DIV+CSS相关
kisons
这个作者很懒,什么都没留下…
展开
-
用CSS把标题超出的部分变成省略号
html>body>style>....ellipsis span {...}{ white-space:nowrap; text-overflow:ellipsis; /**//* for internet explorer */ overflow:hidden; width:190px; display:block;}html>body .ellipsis {...}{转载 2008-02-18 01:33:00 · 526 阅读 · 0 评论 -
返回并刷新来源页面
Response.Write("alert(提示:操作成功!);this.location.href="& request.ServerVariables("HTTP_REFERER")&";")转载 2008-02-18 01:40:00 · 385 阅读 · 0 评论 -
如何让层垂直居中于浏览器窗口
div { position:absolute; top:50%; left:50%; margin:-150px 0 0 -200px; width:400px; height:300px; border:1px solid #008800; }-->让层垂直居中于浏览器窗口转载 2008-02-18 01:38:00 · 827 阅读 · 0 评论