Azu Posted July 11, 2007 Share Posted July 11, 2007 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? Quote Link to comment https://forums.phpfreaks.com/topic/59432-replacing-tables-with-divs/ Share on other sites More sharing options...
AndyB Posted July 11, 2007 Share Posted July 11, 2007 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/ Quote Link to comment https://forums.phpfreaks.com/topic/59432-replacing-tables-with-divs/#findComment-295324 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.