On a two-column page, how can I grow the left div to the same height of the right div using CSS or Javascript?

后端 未结 11 2734
野趣味
野趣味 2020-12-15 07:17

I\'m trying to make a two-column page using a div-based layout (no tables please!). Problem is, I can\'t grow the left div to match the height of the right one. My right di

11条回答
  •  温柔的废话
    2020-12-15 07:35

    This can be done with css using background colors

    
    
    
    
    Untitled Document
    
    
    
    
    
    
    

    Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Duis ligula lorem, consequat eget, tristique nec, auctor quis, purus. Vivamus ut sem. Fusce aliquam nunc vitae purus. Aenean viverra malesuada libero.

提交回复
热议问题