Setting a div's height in HTML with CSS

前端 未结 14 952
无人共我
无人共我 2020-12-05 09:36

I am trying to lay out a table-like page with two columns. I want the rightmost column to dock to the right of the page, and this column should have a distinct background c

14条回答
  •  猫巷女王i
    2020-12-05 10:02

    .rightfloat {
      color: red;
      background-color: #BBBBBB;
      float: right;
      width: 200px;
    }
    
    .left {
      font-size: 20pt;
    }
    
    .separator {
      clear: both;
      width: 100%;
      border-top: 1px solid black;
    }
    Some really short content.
    Some really really really really really really really really really really big content
    Some more short content.
    Some really really really really really really really really really really big content

提交回复
热议问题