Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 406843
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T17:32:10+00:00 2026-05-12T17:32:10+00:00

I’m not expert in CSS in any way; I know it to some extent

  • 0

I’m not expert in CSS in any way; I know it to some extent but not very deep; float and IE6 makes me cry. So I’m always excited to see what people can do with it.

However, most of the examples that I see use fixed dimensions. As far as I understand this is because CSS is so tricky and it’s much easier to hack when elements have width, especially in IE6.

But, I really like flexible width. And being so, I don’t understand why it’s wrong to make design with tables? There’s a book called “Everything You Know About CSS Is Wrong!” which explain how it’s good that now we can do table layouts with CSS with recent browsers… but, couldn’t we do it all the time with HTML tables? Yes it’s not CSS and maybe not as clean as pure CSS… but, after all, table layout IS what we often need, and if we have to choose between wicked hacky CSS to do it and simple-but-not-pure-enough HTML table, I don’t understand why any of these choices should be considered bad. KISS is a good thing, isn’t it?

Or, maybe I don’t understand it and you CAN make table-like layouts in CSS – that work in IE6 – without too much pain in the ass? Any examples of such sites?

UPDATE: Yes I know about content and style separation. In fact, I’m fanatic about DRY, SRP and other design must-do things. That’s why I really tried to do things in CSS; but if it’s SO much harder and more unreliable than tables, such that it’s even written in books like mentioned above, why try so hard? I do not say that everything must be done in tables; but if it’s really easier than CSS – why should I prefer CSS to a simple and predictable solution?

That is, I do not say that you should use tables always. Keep in mind master page layout – it’s independent and do not affect other pages, I can switch from CSS to tables and back in 20 minutes (in fact I did so already) with no problem – WHY should I stick to CSS even though tables are no harm?

UPDATE: I’ve found this to be a very good summary of what I was trying to say: http://www.flownet.com/ron/css-rant.html. And the discussion http://rondam.blogspot.com/2009/02/why-css-should-not-be-used-for-layout.html#comments.

For those who’s interested, here’s an even better article: http://kv5r.com/articles/dev/layouttables1.asp

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T17:32:10+00:00Added an answer on May 12, 2026 at 5:32 pm

    You are essentially right. There is nothing really wrong with using tables for layout as long as, for accessibility, the order of the cells is appropriate for the page. I personally find fixed-width a much worse degradation of usability than tables-for-layout.

    When you do use tables for layout, be sure to use the styles width: 100%; table-layout: fixed (and <col> with a styled width) so that browsers can lay the table out correctly from the start (which fixes one of the usability problems table layouts had), and so that you’re not reliant on IE’s rather poor auto-layout width-guessing.

    Whilst I certainly prefer CSS for layout wherever possible, and most simple site layouts can be reasonably achieved using only CSS (especially now IE5 and its Quirky Box Model is gone), there are some cases where CSS can’t hack it and tables can. A common case is complex fluid-width forms.

    The most significant problem is the lack of ability to say things like width: 100%-10em to get a column that’s the width of the viewport minus a fixed size for another column. For the simple cases you can get around this with margins and a wrapper div, but once you start re-ordering the elements on your page and adding multiple wrappers just to get the CSS layout to work, you’re already mixing up the presentation with the content: not really so very different from tables.

    In the worst case you end up with those silly ‘CSS frameworks’ that require you to use nesting and fixed class names to completely specify the layout inside the markup itself. This is no better than tables at all; I find it absolutely hilarious that this hopeless throwback to the bad old days is considered a trendy cutting-edge Web 2.0 technique.

    CSS3 is working on some interesting alternatives to current Positioning options that may one day deliver on the promise of total markup and layout separation. But that’s a long way off today.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just tried to save a simple *.rtf file with some websites and
For some reason, after submitting a string like this Jack’s Spindle from a text
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Seemingly simple, but I cannot find anything relevant on the web. What is the
I have a French site that I want to parse, but am running into
I have some data like this: 1 2 3 4 5 9 2 6
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I need to clean up various Word 'smart' characters in user input, including but
Is it possible to replace javascript w/ HTML if JavaScript is not enabled on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.