homepage Welcome to WebmasterWorld Guest from 54.166.228.100
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
Creating tables
FNread




msg:4546295
 2:58 pm on Feb 17, 2013 (gmt 0)

How to create table only using <div> tag and Css without using <table>tag

 

swa66




msg:4546301
 3:18 pm on Feb 17, 2013 (gmt 0)

If it's tabular data, you really should use a <table> tag. Using <div>'s where a table is warranted makes it worse.

lucy24




msg:4546343
 11:40 pm on Feb 17, 2013 (gmt 0)

div.row {display: table-row;}
div.cell {display: table-cell;}


But like swa said, why would you want to? Unless you're in the Counterweight Group. The large number of people using tables for layout are counterbalanced by a small number who have been so terrorized by the Don't Use Tables directive that they won't use tables even when they are clearly warranted.

And that's speaking as someone who has only just exercised heroic self-control by taking a text with three parallel translations and not formatting it as a three-columned table. (Two, and it would have been a table. Three, and width constraints won out.)

Rose_Marry




msg:4565937
 9:46 am on Apr 18, 2013 (gmt 0)

May be, you can use like :

<div id="table">
<table>
<tr>
<td>abc</td>
<td>xyz</td>
</tr>
<tr>
<td>abc</td>
<td>xyz</td>
</tr>
</table>
</div>

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved