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

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

Tag: HTML & CSS

Searching for a better way to use abstracts in Dart SASS
Publish date: 2022-02-10 | Comments: 0

Tag: HTML & CSS

Invalid CSS after : expected expression was - SASS error
Publish date: 2022-02-13 | 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

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

Tag: HTML & CSS

How do custamize my button to give it a bubble look using CSS?
Publish date: 2022-03-04 | Comments: 0

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

What is the need for using (for) attr in the label of an input tag?
Publish date: 2022-02-11 | Comments: 2

Tag: HTML & CSS