What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [self-split] tables vs. divs

[self-split] tables vs. divs
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: RE: [self-split] tables vs. divs
quote:
Originally posted by Chris Boulton
Of course you can!

Have you seen http://csszengarden.com/?

http://cssvault.com/
http://www.cssbeauty.com/

You don't need the width, I just used it..

Float does what it sounds like it does, it floats something..

Perhaps you were after 3 columns? :gfdrin:

<div style="float: left;">Left</div>
<div style="float: right;">Right</div>
<div style="text-align: center;">Center</div>

<table>
  <tr>
     <td>left</td>
     <td>center</td>
     <td>right</td>
  <tr>
</table>

Is far more logic and easier to understand and doesn't need layers, nor CSS to pull it off... (and the more nested columns and rows you have, the less code you will have with tables compared to div's; in other words, this small example isn't a good way to show the big benefits of tables though)

As I said, div it is almost always used in combination with stylesheets (heck you almost can't do anything with it if you don't).

quote:
Originally posted by WDZ
So technically there can be more than one div in the same space? In that example, the left and right divs are floating above the center div and don't care that it's there? O_o
By using stylesheets yes. But you can do just the same with tables if you want. The method of floating stuff and using multiple layers to create "tables" with div's is more a hack then anything else...

quote:
Originally posted by WDZ
quote:
Originally posted by Chris Boulton
Have you seen http://csszengarden.com/?
Yeah, of course... just some CSS fanatics showing off. :p
indeed and if they wanted to add a column spanning 4 rows between the already existing columns they will have a hard time finding the appropiate place, changing the code, etc.... While on the other hand if you used tables with something like that, you can add the column in no time without any effort... Oh and, depending on the CSS being used (and layers) pages with div's load relativly slower then with tables.

And that is why tables aren't "shit" at all and are in fact in many circumstances far better then div's. The problem with div's is that most people are blinded by the CSS and all the rumors and misconceptions...

This post was edited on 07-10-2005 at 09:45 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
07-10-2005 09:33 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[self-split] tables vs. divs - by WDZ on 07-09-2005 at 10:10 AM
RE: [self-split] tables vs. divs - by Sunshine on 07-09-2005 at 10:20 AM
RE: [self-split] tables vs. divs - by Eljay on 07-09-2005 at 10:21 AM
RE: [self-split] tables vs. divs - by Sunshine on 07-09-2005 at 10:25 AM
RE: [self-split] tables vs. divs - by -dt- on 07-09-2005 at 10:26 AM
RE: RE: [self-split] tables vs. divs - by mathieumg on 07-10-2005 at 11:13 PM
RE: [self-split] tables vs. divs - by ShawnZ on 07-09-2005 at 03:30 PM
RE: [self-split] tables vs. divs - by hmaster on 07-09-2005 at 05:02 PM
RE: [self-split] tables vs. divs - by CookieRevised on 07-09-2005 at 05:33 PM
RE: [self-split] tables vs. divs - by surfichris on 07-10-2005 at 04:02 AM
RE: [self-split] tables vs. divs - by L. Coyote on 07-10-2005 at 04:19 AM
RE: [self-split] tables vs. divs - by WDZ on 07-10-2005 at 05:19 AM
RE: [self-split] tables vs. divs - by Eljay on 07-10-2005 at 07:05 AM
RE: [self-split] tables vs. divs - by surfichris on 07-10-2005 at 07:08 AM
RE: [self-split] tables vs. divs - by WDZ on 07-10-2005 at 07:24 AM
RE: [self-split] tables vs. divs - by surfichris on 07-10-2005 at 07:28 AM
RE: RE: [self-split] tables vs. divs - by CookieRevised on 07-10-2005 at 09:33 AM
RE: [self-split] tables vs. divs - by WDZ on 07-10-2005 at 07:43 AM
RE: [self-split] tables vs. divs - by surfichris on 07-10-2005 at 09:49 AM
RE: [self-split] tables vs. divs - by saralk on 07-10-2005 at 10:28 AM
RE: [self-split] tables vs. divs - by hmaster on 07-10-2005 at 02:02 PM
RE: [self-split] tables vs. divs - by RaceProUK on 07-10-2005 at 02:41 PM
RE: RE: [self-split] tables vs. divs - by CookieRevised on 07-10-2005 at 03:00 PM
RE: [self-split] tables vs. divs - by surfichris on 07-10-2005 at 03:19 PM
RE: [self-split] tables vs. divs - by Yousef on 07-10-2005 at 03:27 PM
RE: [self-split] tables vs. divs - by CookieRevised on 07-10-2005 at 03:38 PM
RE: [self-split] tables vs. divs - by hmaster on 07-10-2005 at 03:47 PM
RE: [self-split] tables vs. divs - by Eljay on 07-10-2005 at 04:12 PM
RE: [self-split] tables vs. divs - by hmaster on 07-10-2005 at 06:12 PM
RE: [self-split] tables vs. divs - by Eljay on 07-10-2005 at 06:50 PM
RE: [self-split] tables vs. divs - by Yousef on 07-10-2005 at 06:59 PM
RE: [self-split] tables vs. divs - by ShawnZ on 07-10-2005 at 07:08 PM
RE: [self-split] tables vs. divs - by surfichris on 07-10-2005 at 10:27 PM
RE: [self-split] tables vs. divs - by ShawnZ on 07-10-2005 at 11:54 PM
RE: [self-split] tables vs. divs - by Eljay on 07-11-2005 at 07:19 AM
RE: [self-split] tables vs. divs - by fluffy_lobster on 07-13-2005 at 02:45 PM
RE: [self-split] tables vs. divs - by saralk on 07-13-2005 at 02:58 PM
RE: [self-split] tables vs. divs - by Eljay on 07-13-2005 at 04:07 PM
RE: [self-split] tables vs. divs - by fluffy_lobster on 07-13-2005 at 08:41 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On