what is display: table-cell | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is display: table-cell

what is table-cell css pls explain it in detail

14th May 2020, 10:47 AM
Venkadesh. A
Venkadesh. A - avatar
1 Answer
+ 1
Venkadesh. A Hello there. 'table-cell' as the value of 'display' property is used to make any elements a 'td' tag. Or in simple words, if you set the display to 'table-cell' it will behave like a <td> tag. Here is an example (Making a table without the <table> tag) : https://code.sololearn.com/WVa0FIAStfYd/?ref=app
14th May 2020, 10:47 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar