css overflow hidden increases height of container

后端 未结 4 853
遥遥无期
遥遥无期 2021-01-31 09:09

Please have a look at this fiddle - http://jsfiddle.net/Z27hC/

var container = document.createElement(\'span\');
container.style.display = \'inline-block\';
cont         


        
4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-31 09:49

    use the dsiplay 'block' of cell

    cell.style.display = 'block';
    

    and

    cell.style.float= 'left';
    

    to align left if you want to align

提交回复
热议问题