Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS css layout problem in php gallery Re: css layout problem in php gallery

#128631
Senff
Participant

@Hochvater — the tables vs. divs discussion is because tables are not meant for laying out a page. Tables are meant to show tabular data; data that is supposed to be shown in columns and rows.

While a table CAN be used to lay out a page, the current common way of doing this is by using DIVs, because that’s much easier to manipulate, change, and lay out. Putting your layout in table makes it less flexible to move things around.

It’s like saying that you can make a car out of wood, but you shouldn’t cause steel is much better suited for it. Hope that makes sense.

A good new site to learn the basics of layout can be found here: http://learnlayout.com/