CSS
Java居士
这个作者很懒,什么都没留下…
展开
-
纯CSS圆角边框
我的经历 body { background-color: #84871C; } h1{margin: 0 10px} h1{font-size: 250%;color: #84871C} div#nifty{ margin: 0 0%;background: #e3e3e3} b.rtop, b.rbottom{display:block;background: #84871转载 2013-06-18 11:04:44 · 524 阅读 · 0 评论 -
让文字在固定高度的div中垂直居中显示
只要将div中的"height"和"line-height"属性都设为同一数据即可让文字居中,如 div{ height:50px; line-height:50px; }即可实现一下效果。原创 2013-12-01 00:44:45 · 1100 阅读 · 0 评论