Two divs side by side - Fluid display

后端 未结 8 991
你的背包
你的背包 2020-11-22 03:09

I am trying to place two divs side by side and using the following CSS for it.

#left {
  float: left;
  width: 65%;
          


        
8条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 03:39

    Using this CSS for my current site. It works perfect!

    #sides{
    margin:0;
    }
    #left{
    float:left;
    width:75%;
    overflow:hidden;
    }
    #right{
    float:left;
    width:25%;
    overflow:hidden;
    } 
    

提交回复
热议问题