Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6

Thread: use of tables

  1. #1
    Junior Member
    Join Date
    Nov 2002
    Location
    california
    Posts
    23
    Member #
    279
    Hi all,

    Still trying to hone some html skills.. I've noticed that alot of designers will nest tables and use lots of tables all over a page. Is that a technique just to ensure things stay put the way they should? What is the main purpose for all the tables? And with CSS, is it even necessary anymore? I've seen a table with one cell with a table nested in that... why for?

    For instance, check out the source for this page: http://www.bakingshop.com/bc/item/wk-6ds.htm

    There are tables everywhere!

    Thanks alot

  2.  

  3. #2
    Senior Member Physt's Avatar
    Join Date
    Jul 2004
    Posts
    255
    Member #
    6655
    Tables used to be the main method for laying things out.. It is messy and unneccessary.. CSS is the new way.. It has a more logical structure and there isn't all that messy code, that comes with tables..

    I'll give you the same links I gave some1 else on these forums earlier..
    These are CSS based designs.. Check out the source code..

    http://www.csszengarden.com
    http://www.cssvault.com

    Here is a good site to learn basic CSS and other design languages..

    http://www.w3schools.com
    www.controlalternate.com - Web resources and free templates. www.chaosconcepts.net - Custom web and graphic design.
    www.blog.chaosconcepts.net - My Blog

  4. #3
    Member J Dot's Avatar
    Join Date
    Feb 2005
    Location
    Brisbane, Australia
    Posts
    30
    Member #
    9088
    Tables inside tables was a crude way of using html - a markup language - to create a layout - something that HTML was never designed for.

    Only with tables in tables could a designer ensure exactly how tall and wide certain areas were on the page, and have complete control over what their pages looked like (apart from what each browsers ideas were).

    However with CSS, it isnt necessary anymore.

    HTML should be used to format the content and CSS should be used to format the layout and design. You wouldnt use a CSS file to markup content, so why use HTML to markup a layout?

  5. #4
    Junior Member
    Join Date
    Nov 2002
    Location
    california
    Posts
    23
    Member #
    279
    THanks for responding!

    I've actually been plugging through a CSS book... Gettin there! I know why people had originally used tables (me being one of them, check out http://www.clownartist.com and http://www.merrimacalpacas.com) You can see that I like using tables because it allows me to sew together some complex images.

    I was starting to think though that my use of tables was somewhat "simple" after seeing people go nesting crazy and "tables all over" crazy. I was wondering if there was something I should know that I didn't!

  6. #5
    Senior Member mossoi's Avatar
    Join Date
    Apr 2003
    Location
    Englandshire, United Kingdomsville y'all!
    Posts
    1,111
    Member #
    1206
    Liked
    1 times
    A lot of big sites still use tables purely for compatibility. Take a look at ebay's homepage. The preferred method is to use just CSS although it will cause headaches with different browsers until you get used to it.

  7. #6
    Senior Member Eddy Bones's Avatar
    Join Date
    Jan 2004
    Location
    Washington, USA
    Posts
    1,054
    Member #
    4651
    I used to impletement nested tables all the time because I didn't want to deal with rowspan/colspan crap. Now I use CSS and I have to deal with Firefox/Internet Explorer crap. Just joking, lol.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 01:33 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com