user image

Joseph Morgan
Published in : 2021-10-20

min-height is not working on td or th

HTML & CSS

CSS Question, min-height is not working on td or th tags what should i do? 

td {min-height: 50px;}th {min-height: 50px; }

anyone can help please?

Comments

Mohamed Atef Date : 2021-10-20

Best answers

51

Best answers

51

min-height is not working with td or th, so you need to replace min-height with “height” and it will work like min-height , this is how table style works 

example 

td {height: 50px;}th {height: 50px; }

Leave a comment

Join us

Join our community and get the chance to solve your code issues & share your opinion with us

Sign up Now

Related posts

Flex Box last column break to the next row
Publish date: 2022-02-10 | Comments: 1

Tag: HTML & CSS

How to separate the background into three divs that can be flipped?
Publish date: 2022-02-12 | Comments: 1

Tag: HTML & CSS

How can I add engraved style to my buttons using CSS?
Publish date: 2022-03-01 | Comments: 5

Tag: HTML & CSS

How to horizontally align to the centre a li inside an ul?
Publish date: 2022-03-04 | Comments: 2

Tag: HTML & CSS

Sticky header goes behind the Images
Publish date: 2022-02-10 | Comments: 1

Tag: HTML & CSS

Can't move the background-image code from CSS file to HTML file.
Publish date: 2022-02-13 | Comments: 2

Tag: HTML & CSS

How to align an Textarea in the middle of the webpage
Publish date: 2022-02-27 | Comments: 1

Tag: HTML & CSS

Invalid CSS after : expected expression was - SASS error
Publish date: 2022-02-13 | Comments: 1

Tag: HTML & CSS