会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
越己
博客园
首页
新随笔
联系
管理
订阅
2012年2月7日
垂直居中
摘要: 垂直居中是个老生常谈的问题,最常见的解决办法就是设置line-height和height为相同的值,但是这个方法也不是处处适用,比如下面的例子:<!doctype html><html> <head> <title>test</title> <style type="text/css"> span { line-height:20px; height:20px; } </style> </head> <body> <span><input type=
阅读全文
posted @ 2012-02-07 15:50 越己
阅读(269)
评论(0)
推荐(0)
编辑
公告