Home > Web Front-end > HTML Tutorial > 页面布局错位,怎么回事?_html/css_WEB-ITnose

页面布局错位,怎么回事?_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:16:41
Original
1200 people have browsed it


代码如下:
             
         


      

              
          
  • 页面布局错位,怎么回事?_html/css_WEB-ITnose

  •       
  • 页面布局错位,怎么回事?_html/css_WEB-ITnose

  •       
  • 会教会做

  •           
  • |

  •             
  • 会讲

  •            
  • |

  •           
  • 会思想工作

  •            
  • |

  •           
  • 留言板

  •            
  • |

  •           
  • 教案下载

  •       

    

          
 
      

        

CSS是:

#nava6{
border:0px solid #ff0000;
height:60px;
line-height:60px;
background-image:url(../imgs/背景用图1.png);
        margin:auto;

}
#nav6txt{
list-style:none;
}
#nav6txt li{
border:0px solid #ff0000;
font-size:20px;
color:black;
}
.flags{
width:200px;
float:left;
padding-left:400px;
}
.flagss{
width:380px;
float:right;
}
.nav6a{
width:180px;
text-align:center;
float:left;
}
.nav6b{
width:20px;
text-align:center;
float:left;
    color:black;
}


回复讨论(解决方案)

查看页面源码看一看是否有红色的字符。如果有哪证明标签非正常闭合。

如果没有多数是样式问题

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template