Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Hard to get a table fitting to a mobile device.
Very often I see an x-overflow: scroll or x-overflow: auto on such large tables, so the table will get scrollbars but won't break the rest of the page. -
C0D4681463yTypically, throw a div with overflow-x: scroll around it.
Otherwise.... don't use a table? -
What you need is border collapse and data-labels. There is a great demo/tutorial here:
https://allthingssmitty.com/2016/... -
Bootstrap and datatables. The JavaScript makes tables a lot more usable. Automatically adds sorting on headers etc
Related Rants
Hey guys, need help from some web devs. I have few stores and I coded a php/html table for reporting purposes. I don't like that table, also its not responsive on mobile phone. Any advice how could I change the layout up?
rant
question
random