Forum Moderators: open
I want to convert my div designed website to normal table design
I want to convert my div designed website to normal table design. so please help me to how to convert div design website to simple table design format.
normal table design
I'm more curious as to why one would want to change a div based site to table layout.
I don't care what CSS pundits claim at all. In fact I doubt if they have more than limited exprience using CSS than what is already provided in their ready-made website via WordPress, etc.
When one knows how to use tables, one will find that they have more control over the layout and appearance of the cells and modifications are much easier.
When one knows how to use tables, one will find that they have more control over the layout and appearance
There is a difference between tables for layout and divs for layout... semantics.
When one knows how to use tables, one will find that they have more control over the layout and appearance of the cells and modifications are much easier.
Even in Notepad table code is easier to use
<table>
<tr>
<td class="header" colspan="2">HEADER HERE</td>
</tr><tr>
<td class="menu-left" width="20%">
<ol>
<li>Contents</li>
<li>Menu</li>
<li>goes</li>
<li>here.</li>
</ol>
</td>
<td class="content" width="80%">
<h1>Main Content</h1>
<p>goes here</p>
<p>and here.</p>
</td>
</tr>
</table>
<header>HEADER HERE</header>
<nav>
<ol>
<li>Contents</li>
<li>Menu</li>
<li>goes</li>
<li>here.</li>
</ol>
</nav>
<article>
<h1>Main Content</h1>
<p>goes here</p>
<p>and here.</p>
</article>
and I don't care what CSS pundits claim at all. In fact I doubt if they have more than limited exprience using CSS than what is already provided in their ready-made website via WordPress, etc.
For example, while using Notepad I can punch out the code for a complex page comprised of tables including a multitude of varied settings for spacing and style with irregular columns and nested tables and know exactly what it will look like before I ven preview the page.
I challenge anyone to try doing that using DIV and CSS from Notepad.
TABLES are not dead
and DIV is not the future at all.
When one knows how to use tables
Likewise, if you your editing skills are limited to the manipulation of CSS and templates already provided by an out-of-the-box CMS you should not comment here either.
when one gets complex with div one will get lost.
The (semantically meaningless) <div> element has been superceded in HTML5 by (semantically meaningful) structural elements
I pour narrative text into tables, completely hosing the idea that tables should be used for tabular material. My sites become popular. People start doing what I'm doing. I write a book explaining how to do it, and it becomes the Amazon.com number one best-selling book of 1996 in five months. The Web falls apart quickly. The search engines can't tell a picture of Dolly Parton from a picture of Dolly the sheep.
You've run into the problem where you can say, "It works" but that's the best thing you can say about it.
the tables I refer to and use every day are very much more complex with custom colspan and rowspan offsets nested inside of many other tables