Skip to content
Loading
  • Dipa Mehta
    0
    This is the best and easy to understand why we are now focusing on DIV instead of TABLE in HTML5 Kindly check once https://www.slideshare.net/mobile/umarali1981/difference-between-div-and-table
    0
  • Bidyasagar Mishra
    0
    This is a common pattern for making responsive tables. Tabular data is tricky to display on mobiles since the page will either be zoomed in to read text, meaning tables go off the side of the page and the user has to scroll backwards and forwards to read the table, or the page will be zoomed out, usually meaning that the table is too small to be able to read.
     
    Responsive tables change layout on smaller screens - sometimes some columns are hidden or columns are amalgamated, e.g. name and email address might be separate on large screens, but collapse down into one cell on small screens so the information is readable without having to scroll.
     
    s are used to create the tables instead of tags for a couple of reasons. If
    tags are used then you need to override the browser default styles and layout before adding your own code, so in this case
    tags save on a lot of boilerplate CSS. Additionally, older versions of IE don't allow you to override default table styles, so using
    s also smooths cross-browser development. 
    0