Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Table-less css
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedTable-less css

 Post Reply Post Reply
Author
huwnet View Drop Down
Senior Member
Senior Member


Joined: 30 May 2003
Location: England
Status: Offline
Points: 1375
Direct Link To This Post Topic: Table-less css
    Posted: 14 April 2005 at 1:21pm
I am thinking of rewriting my site so that it is tableless.

However is it actually worth it? Confused

And which renders faster tables or no tables?
Back to Top
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Direct Link To This Post Posted: 14 April 2005 at 1:42pm
It is easier to validate and make accessible however, I truly feel it's more trouble than it's worth. You would be better off validating your tables and images to comply with current standards. (IMO)
 
I've been playing with it a little and I do think I will be implementing CSS themes over the skinning examples I have seen. (See http://www.cssZenGarden.com for some great examples.)
 
I would like to make an accessible forum at least to the US Government 508 standards but that would take a lot of work. The main thing is alt tags, closing tags and table summaries from what I can tell.
 
As far as the performance issue... I dunno. Though if it takes a 50K CSS include to accomplish the same as three lines of table tags, I would have to conclude the answer is no... CSS is not "better" in that respect.
 
PLEASE correct me if I'm wrong.
 
References:
 
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Direct Link To This Post Posted: 16 April 2005 at 7:04am
also you have the issues of

  1. users that turn CSS off,
  2. people that have a custom style set within the settings area (for example people who need things enlarged)
  3. also the matter that cross browser compatiblity will be an issue
im on sure on performance side of things. but i myself will be sticking with table layouts at the moment.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Direct Link To This Post Posted: 16 April 2005 at 2:50pm
On the other hand...
 
  1. 50k of CSS is about 40-45k to much. You need to redo the CSS - lol. Anyway, it just downloads once for your entire site and after that it's pulled from the browser cache. Meanwhile, the html pages are smaller.
  2. Some browsers don't render a table as it downloads. The user has a blank area until the entire thing has been downloaded.
  3. You can embed asp within in your css so you can query cookies or browser info to customize the presentation for each user.
  4. Way more people turn javascript off than CSS.
  5. People that have a custom syle setting need a custon stlye setting. It's either use their setting or loose the viewer. Can't tell you how many sites I leave because they insist on using a fixed small font like 10pt/10px which renders like bug sh*t on my 1200x1600 screen. px and pt are for print - not for screens with variable sizes. Use % or em units for font size.
    1. (My personal syle sheet however will override any page - regardless of if they use css or not).
  6. There's about 5-6 things to remember for x-browser capability. Most of them have to do with IE's broken implementation of the box model.
    1. 90+% of sites use one of a half dozen basic layouts. Tons of CSS layout templates to choose from.
  7. Initial coding and making modifications in CSS is just plain faster once you know what you're doing.
 
Bottom line is - tables are for tabular data, css is for layout and presentation. It doesn't have to be an all-or-nothing effort though. Try using an HTML 4.01 Transitional doctype and start by creating a few paragraph, header and div styles to handle font size, color, and alignment, yet keep your table layout. As you get to be more familiar with css, you can get into the positional elements and they'll make more sense.
 

Lead me not into temptation... I know the short cut, follow me.
Back to Top
C.P.A. View Drop Down
Newbie
Newbie


Joined: 26 April 2005
Location: Netherlands
Status: Offline
Points: 26
Direct Link To This Post Posted: 26 April 2005 at 10:17am
I think it is worth it! I've recently build a website specially for people suffering disabilities, and you really would please them by doing so. However, whenever you need to use a table to provide tablized content you should use a table but note to declear <th> for the headers and <td> for normal cells.

Also I high recommend learning CSS in depth because it will take a lot of work out of your hands when working with it in a clever way.

Good luck!
Back to Top
ngaisteve1 View Drop Down
Groupie
Groupie
Avatar

Joined: 26 December 2002
Location: Malaysia
Status: Offline
Points: 169
Direct Link To This Post Posted: 27 April 2005 at 10:15pm
For me, I have been using css to replace tables. Yes, it takes a lot of times to do so but it is worth it at the end because after using css to replace table, I save up so much un-needed code from using tables (nested) and my code now is lesser and also more readable (after took out all those nested tables). Because it is more readable, it eases my future maintainance.
Back to Top
C.P.A. View Drop Down
Newbie
Newbie


Joined: 26 April 2005
Location: Netherlands
Status: Offline
Points: 26
Direct Link To This Post Posted: 27 April 2005 at 10:24pm
and when one works with clever asp programming at the background it really is not that much effort at all on the long term side of advantages, so I agree with mgaisteve1
Back to Top
ngaisteve1 View Drop Down
Groupie
Groupie
Avatar

Joined: 26 December 2002
Location: Malaysia
Status: Offline
Points: 169
Direct Link To This Post Posted: 28 April 2005 at 1:04am
Originally posted by dpyers dpyers wrote:

On the other hand...
 
  1. 50k of CSS is about 40-45k to much. You need to redo the CSS - lol. Anyway, it just downloads once for your entire site and after that it's pulled from the browser cache. Meanwhile, the html pages are smaller.
 
For me, one of my application, the css file is just 1.33 Kb and another one is 4 Kb.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.