css
南猿北蛰
蓦然回首时,唯见君拈花微笑...
展开
-
css解决select不能被遮盖和不能设置边框背景补白等样式的问题
selectselect { border: 1px solid #ccc; background: none; padding: 4px 5px; outline: none; color: #333; *behavior: url(select.htc);}select:focus { border-colo转载 2012-04-27 17:12:20 · 2135 阅读 · 0 评论 -
一个很好的JS弹出层
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">弹出层显示在屏幕正中.div_class{ width:350px; height:160px; background-color:#fff; border:1px solid #33转载 2012-04-27 17:54:18 · 1194 阅读 · 0 评论 -
css背景居中,固定,不重复的效果
洋气的背景图效果,超简单样式实现!body { background:url(http://i1254.photobucket.com/albums/hh610/d241559328/bg02.jpg) center no-repeat fixed #000;}p { width:420px; height:100px; padding:20px 90px; margin:6p转载 2012-04-27 17:23:11 · 4480 阅读 · 0 评论 -
img中align的AbsBottom 、AbsMiddle 、Baseline 、Bottom 、Left 、Middle属性介绍
AbsBottom 图像的下边缘与同一行中最大元素的下边缘对齐。 AbsMiddle 图像的中间与同一行中最大元素的中间对齐。 Baseline 图像的下边缘与第一行文本的下边缘对齐。 Bottom 图像的下边缘与第一行文本的下边缘对齐。 Left 图像沿网页的左边缘对齐,文字在图像右边换行。 Middle 图像的中间与第一行文本的下边缘对齐。 NotSet 未设定对齐方式转载 2012-11-06 16:30:09 · 2793 阅读 · 0 评论