Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

THe following statement from a fellow student just needs a reply to Calling this

ID: 3537079 • Letter: T

Question

THe following statement from a fellow student just needs a reply to



Calling this debate css vs tables is actually inaccurate. You can use css with a table-based layout. One argument the css side always uses is that having your presentation in a seperate file  makes the site easy to maintain. That is true, but you can have all your presentation in a separate css file while having a table-based structure to your html.

If you originally decide all your h1 tags should be blue and later want them to be red it%u2019s certainly easier to have your h1 style sitting in a single css file. You can do that regardless of how you structure your layout. That would be a debate between using css or html attributes for presentation. I don%u2019t think anyone is arguing in favor of html attributes.

Tables were never intended by the creators of HTML to control the visual style of a web page. They were only meant to display data with columns and rows. There wasn%u2019t a mechanism in place to address the needs of more advanced layouts, so some ingenious web designers discovered that they could use tables to implement robust layouts.

The main argument for still using tables today stems from bad habits, and complacency. What is often said is that using tables is easier, and that browsers don%u2019t support it. It can certainly be easier in some cases, but browsers do support it. Internet Explorer can be frustrating to design for, because it doesn%u2019t adhere to web standards very well, but there are many fixes and workloads that will enable CSS based layouts to render correctly. If there was ever a time to start designing tableless layouts, it%u2019s now.

Explanation / Answer

Hey. I have lot of experience in web designing. So I can help you here.

This is no bookish knowledge but practical experience.


Nowadays, use of tables have been avoided. It makes your web appliaction heavier. Where as styles like <div> tags keep your applicaton lighter. Tables increase the overhead of the application. We need three set of tags i.e (table tr and td) to present some content as opposed to the one set of div tag. Style is always better because of three reasons.

1. easier to maintain- less code and less complex

2. more flexible - as one div is not dependent on other.

3. quicker to load - it doesnt need extra pass, runs straight away


Hope that makes your concepts clear.