HTML 'td' width and height

前端 未结 2 1663
余生分开走
余生分开走 2020-12-08 13:08

The \'height\' and \'width\' are not supported in HTML5. How can I set a td\'s width and height while conforming to the HTML5 standard?

         


        
2条回答
  •  情歌与酒
    2020-12-08 13:47

    The width attribute of is deprecated in HTML 5.

    Use CSS. e.g.

     
    

    in detail, like this:

    Month Savings
    January $100
    February $80

提交回复
热议问题