-
CSS or Tables (or both?)
Greetings,
I have always used tables and CSS only for formatting text/styles...
But not I am hearing from people that CSS is good for aligning, some claim it is better then tables.
So this is one of my first posts here, I knew this website for a long time but signed up at the forum just recently, but I am sure that there are some advanced in web design people that know the answer.
Let know what you think is better for aligning, or if you think to use both is better.
I have plans to learn CSS aligning either way, but thought Id get some info as well.
-
-
Simply put, tables are not and never were designed to be used for layout. Abusing them this way was simply a hack that was used before CSS gained support. In this day and age, there are very few reasons remaining to use tables for layout, and several practical disadvantages to doing so. Tables are for tabular data, and should only be used to display tabular data -- the <table> element is meant, surprisingly enough, for rendering tables, not for structuring layouts.
-
-
CSS is a more effecient (if not sometimes slightly more frustrating
) solution that will clean up your code and produce more responsive results once you get the hang of it.
avoid tables for layout as much as possible, even as tempting as it is sometimes. Good luck!
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks