+ 4

what is different between display:table; and display:table-cell;

css code display properties https://code.sololearn.com/Wp7q8gC632r8/?ref=app

10th Jun 2019, 6:54 PM
🥇 Neha Patel 🥇
🥇 Neha Patel 🥇 - avatar
3 Réponses
0
They are display values that force non-table elements to behave like table-elements. display: table; behave like <table> display: table-row; behave like <tr> display: table-cell; behave like <td> And so on...
10th Jun 2019, 8:24 PM
Giorgos Mariettakis
Giorgos Mariettakis - avatar
0
display table use to display overall table but display cell only display table's specific cell or row
27th Aug 2019, 11:11 AM
Tanuj dhote
0
It's simple Display table -It display whole table. Display cell - It display a fix row .
30th Aug 2019, 3:56 PM
P. Jadhav Vampire