当前位置: 代码迷 >> HTML/CSS >> 在wince的ie6下文字剧中的div方块的css
  详细解决方案

在wince的ie6下文字剧中的div方块的css

热度:112   发布时间:2013-03-27 11:22:42.0
求一个在wince的ie6下文字剧中的div方块的css
以下是我现在的css,在其他浏览器上已经实现,但在wince的ie6下无效,希望达到在pda或手机上可以显示为一个文字剧中的方块形按钮。
div#button{
    width:90px;
    height: 90px;
    line-height:90px;
    border-width:0px;
    background-color:#00A2E8;
    text-align:center;
    vertical-align:bottom;
    word-break:keep-all;
    margin: 2px;
    overflow-wrap:break-word;
    text-overflow:ellipsis;
    overflow:visible;
    display: inline-block;       //some standard browsers
    zoom:1;
    *display: inline;            //Only IE know this code (CSS Hack)
}
------解决方案--------------------
加上下面的试试
position:absolute;
top:50%;
left:50%;
  相关解决方案