I’m working on designing up a table with 7 images in it that are all roughly the same size. Basically, I was wondering if there is a way (other then splitting each row into a different table) to change the HTML tendency to put everything in columns, and force it to lay it out based on rows.
Here is a jsfiddle of what it is. (I used Lorem Ipsum instead of the images) I would like the top and bottom row centered.
I know I can do this if I was to split it into three tables and set each one to have a width:xxxpx and margin: 0 auto, but would rather not do that.
Any suggestions are appreciated.
Yeah, it might be better to go with multiple divs for this issue. Is it possible to do something like the following:
HTML:
CSS:
Basically, let the normal flow of images control their positioning, and instead use margins and padding to equalize the spacing.