How to create responsive table in html using CSS
There are two important codes
tr and tdtr: creates the rows of the table.td: Creates the columns for the table.When the number of columns is very large, the content of the table appears poorly, especially in mobile devices, note the following example
In this case, we need some css property in order to make the table responsive to the page without problems .
create
div tag and make them overflow-x: auto with CSS, insert the table code inside this div.add
white-space:nowrap style to td tag, look at this exemple to understand me
© Manajmnt code
Comments
Post a Comment
message