BadGirl_Xiao

导航

左右布局


<!DOCTYPE html> <html> <head> <title>Title of the document</title> <style type="text/css"> * { margin: 0; padding: 0 } body, html { height: 100% } .lf { float: left; width: 200px; background: red; height: 100% } .lr { overflow: hidden; width: auto; background: green; height: 100%; } </style> </head> <body> <div class="lf">左侧</div> <div class="lr">右侧</div> </body> </html>

  

 

posted on 2018-06-11 10:06  BadGirl_Xiao  阅读(207)  评论(0编辑  收藏  举报