开发者

How to fit two divs side by side horizontally?

开发者 https://www.devze.com 2023-04-09 11:52 出处:网络
How to sit two divs side by side horizontal开发者_如何学JAVAly using css, where the direction of the container DIV is from right to left ?<div style=\"float:right;\">

How to sit two divs side by side horizontal开发者_如何学JAVAly using css, where the direction of the container DIV is from right to left ?


<div style="float:right;">
    Right div
</div>
<div>
    Left div
</div>


<div style="width:960px;overflow:hidden;">
  <div style="float:right;width:600px;overflow:hidden;">
     //right DIV
  </div>
  <div style="float:right;width:360px;overflow:hidden;">
     //left DIV
  </div>
</div>
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号