我从网上看到有人在做 多行文字垂直居中 效果时
<style type="text/css">
#boxOuter
{
display: table;
height: 300px;
width: 500px;
border: solid 1px black; *position:relative;}
#box
{
display: table-cell;
vertical-align: middle; *position:absolute;top:50%;width:100%;}
#boxInner
{ *position:relative;width:100%;top:-50%;}</style>
<div id="boxOuter">
<div id="box">
<div id="boxInner">
<p>
Some Content Here</p>
<p>
Some Content Here</p>
<p>
Some Content Here</p>
<p>
Some Content Here</p>
<p>
Some Content Here</p>
</div>
</div>
</div>
我去掉了这几个*在firefox中就有问题
<style type="text/css">
#boxOuter
{
display: table;
height: 300px;
width: 500px;
border: solid 1px black; *position:relative;}
#box
{
display: table-cell;
vertical-align: middle; *position:absolute;top:50%;width:100%;}
#boxInner
{ *position:relative;width:100%;top:-50%;}</style>
<div id="boxOuter">
<div id="box">
<div id="boxInner">
<p>
Some Content Here</p>
<p>
Some Content Here</p>
<p>
Some Content Here</p>
<p>
Some Content Here</p>
<p>
Some Content Here</p>
</div>
</div>
</div>
我去掉了这几个*在firefox中就有问题
解决方案 »
- 这样的sql模糊查询怎么实现
- 要怎么从管理员网页上给上千的客户发送EMAIL?有什么好的解决方案?
- ASP.NET MVC如何在线打开DOC文件
- 在网页后台不能给前台控件赋值怎么回事
- MVC是模式?是框架?还是规范?
- 给分ericguzuqiang
- 请教用asp.net作一个群发邮件功能
- 求助解决在国外空间发送邮件后接收为乱码!
- ··········远程强制开启摄像头,原理··········
- **如何连接局域网中一台win200 advance server的access数据库**
- asp.net mvc中如何获取Controller名和action名
- vs_setup.msi无法打开怎么回事???急!!
*position:relative;还是第一次看到!
http://www.div-css.com/html/XHTML-CSS/hack/1136667.html
http://www.andymao.com/andy/post/76.html
This structure contains location information, including latitude and longitude, as well as other related information like heading, speed, the satellites used to retrieve the ...