我写的HTML在火狐浏览器和360浏览器上显示的大小不一样,怎么办

2025-04-24 09:42:03
推荐回答(1个)
回答1:

.body 
{
    background-repeat: no-repeat;
    background-color: #9CDCF9;
     
}
.divMain
{
    position:absolute;
    left:25%;
    right:25%;
    width:50%;
    top:20%;
    height:60%;
    bottom:20%;
    height:420px;
    text-align:center;
     
 
}
.divClient
{
    position:relative; 
    left:0px;
    top:0px;
    width:681px;
    height:259px;
    font-size: 12px;
    color: #007AB5;
}
.divBottom
{
    position:relative; 
    left:0px;
    top:0px;
    width:681px;
    height:161px;
    background-image: Url(/Public/Images/login_4.gif); 
    background-repeat: no-repeat;
}
.divLeft
{
    position:absolute; 
    left:0px;
    top:0px;
    width:353px;
    height:259px;
    background-image: Url(/Public/Images/login_1.gif); 
    background-repeat: no-repeat;
}
.divCenter
{
    position:absolute; 
    left:353px;
    top:0px;
    width:195px;
    height:259px;
    background-image: Url(/Public/Images/login_2.gif); 
    background-repeat: no-repeat;
}
.divRight
{
    position:absolute; 
    left:548px;
    top:0px;
    width:133px;
    height:259px;
    background-image: Url(/Public/Images/login_3.gif); 
    background-repeat: no-repeat;
}
.divCompanyInfo
{
    position:absolute;
    top:90%;
    right:10%;
    color:#05B8E4;
    text-align:right;
}
.divCompanyInfo
{
    position:absolute;
    top:90%;
    right:10%;
    color:#05B8E4;
    text-align:right;
}
.divCompanyInfo
{
    position:absolute;
    top:90%;
    right:10%;
    color:#05B8E4;
    text-align:right;
}
.text
{
    background-image: Url(/Public/Images/login_6.gif); 
    background-repeat: repeat-x; 
    background-color: #FFFFFF;
    border: solid 1px #27B3FE; 
    height: 18px;   
}
 
.button
{
    background-image: Url(/Public/Images/login_5.gif); 
    background-repeat: no-repeat; 
    width: 69px; 
    height: 24px
}