Jump to content

Replacing tables with divs?


Azu

Recommended Posts

Hi

 

I am trying to replace all of my tables with divs because everyone says that divs are faster/better or something.

 

I am having one little problem though.. when I use divs instead of tables, my stuff is no longer lined up.

 

Can somebody please tell me how to fix this?

 

And on a side note.. I've seen on some websites that use divs for navigation, the box containing the link is bigger then the link itself, but it isn't padded with spaces. And if you click the blank area around the link, it works just like clicking on the link. How can I make mine like this?

Link to comment
https://forums.phpfreaks.com/topic/59432-replacing-tables-with-divs/
Share on other sites

For clarity's sake.  Use tables to display tabular data; nothing more. The table element is intended for ... tables. The table element is NOT intended as a layout device.

 

CSS for layout

TABLES for tabular data.

 

As to your questions about CSS navigation - http://css.maxdesign.com.au/listamatic/

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.