Are there benefits of creating tables using “display: table;” style rather than using old school “table” tag ?
And I know that IE7/8 don’t support “display: table;”.
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not really. There are enough hierarchical requirements on
display: tableand its relatives (particularlydisplay: table-rowanddisplay: table-cell) that it’s generally infeasible to use those properties to style arbitrary elements as a table. The main purpose I’ve heard for these properties is to make it possible to define the behavior of a<table>purely in terms of user agent CSS, rather than making it a special case.