The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › how can we set height of table cell " display: table-cell; "
Hi
i used table for calendar, there i set
td, th { display: table-cell; }
there possible to set td height ? example : td, th { display: table-cell; height:25px; max-height:25px; }
please help to set td height
Thank you!
your example works fine :)
Why are you setting something that already has display:table-cell to exactly the same property?
display:table-cell
Seems to me you’re wasting your time.
https://stackoverflow.com/questions/7045653/setting-max-height-for-table-cell-contents