Jump to content

CSS Template


shane18

Recommended Posts

Nested DIV's is perfectly fine and necessary in most cases.

 

However, depending on the data you need to use the proper methods. If it is a blog you are designing then the CSS / DIVs is definitely the way to go. But if you are trying to display tabular data from a database, I would stick to tables.

 

Hope that helps.

Link to comment
https://forums.phpfreaks.com/topic/186178-css-template/#findComment-983276
Share on other sites

Just be careful of these two things:

 

1) Don't try to mimic tables with divs. Divs are not tables. They are used very differently.

2) Don't get divitis - overuse of divs. Use divs if you are creating a division on the page. Use <p> tags if its a paragraph. Use <ul> tags if its a list. Use <blockquote> if its a blockquote. Divitis is almost as bad as tables in its own way.

Link to comment
https://forums.phpfreaks.com/topic/186178-css-template/#findComment-983404
Share on other sites

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.