Menu
Newbedev LogoNEWBEDEV Python Javascript Linux Cheat sheet
Newbedev LogoNEWBEDEV
  • Python 1
  • Javascript
  • Linux
  • Cheat sheet
  • Contact

CSS display: table min-height not working

When using tables, height essentially is min-height, as tables always stretch. Just get rid of the "min-" and it will work as you expect.


Use height: 1px; on the table or any value. Basically you need to give table some height to make it work with min-height. Having only min-height won't work on tables on firefox.

Tags:

Css

Related

Singleton lazy vs eager instantiation fatal error C1083: Cannot open include file: 'xyz.h': No such file or directory? How can i show Hindi text in Android Tablet How to link external javascript file onclick of button how to get Activity's windowToken without view? When is static cast safe when you are using multiple inheritance? Is there an aggregate function that could return first non-null value within a group? javascript looping and deleting object properties Rails keeps telling me that it's not currently installed UIPageViewController Gesture recognizers Using JQuery to Access a New Window's DOM LEFT JOIN order and limit

Recent Posts

Pandas how to find column contains a certain value Recommended way to install multiple Python versions on Ubuntu 20.04 Build super fast web scraper with Python x100 than BeautifulSoup How to convert a SQL query result to a Pandas DataFrame in Python How to write a Pandas DataFrame to a .csv file in Python
© 2021 newbedevPrivacy Policy