I\'m trying to rewrite a site in proper HTML. The site I\'m trying to replace was a complete mess. I\'ve run into a problem where I can\'t get a t 5条回答 心在旅途 (楼主) 2021-01-13 06:14 The best solution for this is to have the parent element of the button have a height of 100% as well, assuming you want your button to have a height of 100%. e.g 1 2 3 + = CSS: td{ height: 100%; } .btn { width: 100%; height: 100%; } That should work fine 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
t 5条回答 心在旅途 (楼主) 2021-01-13 06:14 The best solution for this is to have the parent element of the button have a height of 100% as well, assuming you want your button to have a height of 100%. e.g 1 2 3 + = CSS: td{ height: 100%; } .btn { width: 100%; height: 100%; } That should work fine 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
The best solution for this is to have the parent element of the button have a height of 100% as well, assuming you want your button to have a height of 100%.
button
e.g
1 2 3 + =
CSS:
td{ height: 100%; } .btn { width: 100%; height: 100%; }
That should work fine