Jump to content

Table Help And Layout Question


ThunderAI

Recommended Posts

I have committed a crime, I need to float tables near each other to setup a dynamic grid that shows a summary of different database records. One table for each database record. The problem is that the tables will not nest into a nice grid pattern but rather create large gaps in the layout. The tables are all different lengths, and all have the float:left property. Now I know it isn't desired to use tables for layout, but I can't figure out a better way to do this.

 

Any suggestions on how I can get the tables to layout properly and create no empty gaps?

 

Thanks.

 

example.png

Link to comment
https://forums.phpfreaks.com/topic/270289-table-help-and-layout-question/
Share on other sites

In case you didn't know what to Google for before you ask this question.. it is known as a tiled layout or grid layout like you already mentioed as grid pattern.  I simply googled CSS tile layout and this was the first result

 

http://stackoverflow.com/questions/8470070/how-to-create-grid-tile-view-with-css

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.