博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
HTML5的布局的使用
阅读量:7075 次
发布时间:2019-06-28

本文共 931 字,大约阅读时间需要 3 分钟。

hot3.png

    
    
div布局    
 body{            margin: 0px; }        div#container{            width: 100%; height: 950px; background-color: darkgray; }        #heading{//div可去除            width: 100%; height: 10%; background-color: aqua; }        #content_menu{            width: 30%; height: 80%; background-color:aquamarine; float:left; }        #content_body{            width: 70%; height: 80%; background-color: blueviolet; float:left; }        #footing{            width: 100%; height: 10%; background-color: blue; clear:both; }    
    
头部    
内容菜单    
内容主体    
底部
    
    
table布局
    
                    
这是头部                            
                
                        
  • ios
  •                     
  • android
  •                     
  • html5
  •                 
                        
内容主体            
左菜单                            
这是底部            

转载于:https://my.oschina.net/hejunsen/blog/356043

你可能感兴趣的文章