K
Kris
Barry Pearson said:As you say,
that does emulate tables, and proper column height is achieved in those
browsers.
It emulates the visual behaviour of tables. That doesn't mean the
content *is* a table.
Barry Pearson said:As you say,
that does emulate tables, and proper column height is achieved in those
browsers.
[snip]A most important reason to use CSS over <font> is to allows changes in
presentation without having to go through all your HTML pages. This is
even more relevant for the <table> markup.
Barry said:I wonder why it is still in CSS2.1, given its lack of support in IE? It says
"But most of all CSS 2.1 represents a "snapshot" of CSS usage: it consists of
all CSS features that are implemented interoperably at the date of publication
of the Recommendation".
Barry said:You snipped my question "Perhaps "display: table" techniques?"!
From: (e-mail address removed) (Chris)
Anybody know of a good, online tutorial
explaining how to use CSS instead of
tables?
Until browsers get rid of bugs and get organized about what the W3C
"Recommends" ... tables should be the best and safest way to layout a
page...
Barry said:Tony
provided an example of the use of div-elements & display:table (etc) to
achieve the equivalent of <table> using CSS. [...] And many times,
people, who might claim to be separating presentation/layout from
content/mark-up, have carefully provided sufficient extra mark-up, in
the right order, to enable that CSS to work.
[snip]Toby said:Perhaps because I didn't know what you meant by it. It was in
diametric contradiction with your earlier statement:
Toby said:The W3C view of interoperability is that there are at least 2
implementations. Seems sensible enough to me.
Barry said:Then why have they removed "font-size-adjust"?
Source?
Toby said:I didn't know there was even one implementation of it? Which browsers
support it? Perhaps the two implementations don't play nicely with
each other?
Barry said:Perhaps "all recent Mozilla" counts as one implementation? Hm!
Barry said:I'm talking about tables, the subject of this thread.
valid Strict code.
You weaken your argument by bringing in unconnected issues.
I agree that good tutorials about general use of CSS are desirable.
subject of this thread was using CSS instead of tables, and that is a specific
use of CSS. For that, even if you know the rest of CSS, you need that extra
knowledge I mentioned.
But it goes further than that. Where are the tutorials that say how to get
from a visual design concept to the combination of mark-up & CSS needed to
achieve it without using layout tables? Where is the method or process that,
given some arbitrary (but plausible) visual design, enables an author to
choose the wrapping & nesting & sequencing of the top-level elements that will
give the CSS the structure needed? A method that will steer the author to
appropriate combinations of floats, positioning, and normal flow? Perhaps this
is covered in some of the good books on the topic?
I suspect most of the table-layout pages being uploaded every day are being
developed by professionals, not amateurs. The sites that matter most surely
are?
Those amateurs are likely to have limited audiences. Family & friends, people
pursuing the same hobby, etc. Are they communicating with their audience? If
so, fast & easy is the right approach for them.
[snip]
A wide majority of sites relying on table designs also resort
shamelessly and enormously on nested tables: does that makes sense?
I'm talking about as much as 50% of all webpages on the web here.
Can you just give me a good example of usage of nested tables?
That isn't an argument against tables. In fact, unless you show problems with
nested tables, it isn't even an argument against nested tables!
If you want to make a point about the risks of bad layout tables, for example
that they blow apart at large text sizes, and/or they don't linearise well and
can become inaccessible, then I agree. But those cases are not a reason to
criticise use of simple layout tables that don't have those particular
problems. It is not either/or, and that is the point I was making earlier. CSS
& tables are not on conflict.
They are different topics. They are often *not* closely related.
whose target is validated Strict code know how to separate out these very
different arguments.
See what I said above about weakening your argument.
someone to stop using layout tables by adding in the subject of <font>, etc.
Whitecrest said:Your logic is wrong.
Most developers use a combination of Tables and CSS
Most developers use invalid code or improper nesting
Therefore Using tables and CSS is invalid code.
Sorry that is not good logic, nor is it a true statement.
Not the absence of tutorials, but rather the absence of motivation to
learn from the developers. Many just don't want to learn it because the
old way seems to work anyway. In the long run, these people will end up
losing.
Why bother asking,
"damn, he was right, That is a awesome use of nested tables...."
These issues revolve around bad usage of table layout. But you don't
necessarily have to lose the tables to fix it.
DU said:Barry said:[snip]
I'm talking about tables, the subject of this thread.
I've listed tutorials on how to replace tables with CSS, the subject
word for word of this thread. Read me well. Read me carefully. You
have not mentioned a single tutorial on how to replace tables with
CSS. If someone is off-topic, you have been more than I have.
The fact that one can use tables and css in valid strict mode does not
per se mean that such usage is a correct and justified webpage design
decision.
You clearly said that since a vast majority of web pages in
the world use both, then that would be a sufficient reason to do the
same. This is where you're wrong, imprecise to say the least, and def.
not nuanced. You never addressed the how they do this or why from a
design perspective, from an interoperability perspective, from an
usability perspective. What you do is called a petition of principle
and it's never acceptable in science, in a court of law or in a
rational discussion/confrontation of arguments.
But you did not focus on that in your post. You only mentioned the
importance of knowing browser bugs and how to work around these.
It's
definitively not my approach and, IMO, it's definitively not a
recommendable approach generally speaking. File bugs when it's
relevant, justified to do so at bugzilla.org, opera.beta or to the
MSIE dev. team at
http://blogs.msdn.com/dmassy/archive/2004/06/16/157263.aspx "At this
stage there isn't much more to add other than to reiterate the point
that the Internet Explorer team does exist and does care. In my
new job role I'm very interested in hearing about what you the
customers would like to see."
That's one thousand percent (1000%) more constructive, relevant and
future-positive than developing an expertise on working around bugs.
Short-term pragmatism never helps to solve problems at the source.
I suspect amateurs upload more webpages every day than so-called
professionals. I suspect a lot of so-called professionals upload
table-based designed webpages for no justifiable reasons.
That's a poor argument in favor of webpage table-design: if visible,
measurable results is achieved from the web author's perspectives,
then everything else does not matter. What about the users'
perspective here? What about the media used, interoperability
perspective? What about the long-term perspective, the management
perspective?
I mentioned the arguments against nested tables before and several
times. I get tired out of it.
Strictly speaking, yes, they are different topics. But these often are
present in the same webpages. The common bond is absence of HTML
knowledge, absence of any sensible webpage design instruction and
frantic WYSIWYG motivations + visual-results-is-what-matters-period
goals. That's typical of amateur websites overall.
You won't convince
That was not my point. I say these people loving table-designs and
nested tables usually are in the same bag of people relying on <font>,
<center>, align and valign used everywhere, users, etc...
Table-design users and nested-tabled-design users are people who after
years and years of coding never upgraded their skills, never opened a
book, never went to read a tutorial on sound webpage design, etc..
DU said:Whitecrest said:(e-mail address removed) says... [snip]A wide majority of sites relying on table designs also resort
shamelessly and enormously on nested tables: does that makes sense?
I'm talking about as much as 50% of all webpages on the web here.
Can you just give me a good example of usage of nested tables?
Why bother asking,
Because I wanted to understand his own personal logic regarding/behind
nested tables. Nested tables, even for positional purposes, makes no
more sense than putting your micro-wave oven in another micro-wave
oven hoping that your sandwich or coffee will get ready faster that
way.
[snip]These types of webpages are usually webpages based on table-design.
Barry said:DU said:[snip]Barry said:DU wrote:
The fact that one can use tables and css in valid strict mode does not
per se mean that such usage is a correct and justified webpage design
decision.
But it can be. This is for the author & publisher to judge, based on their
objectives.
You clearly said that since a vast majority of web pages in
the world use both, then that would be a sufficient reason to do the
same. This is where you're wrong, imprecise to say the least, and def.
not nuanced. You never addressed the how they do this or why from a
design perspective, from an interoperability perspective, from an
usability perspective. What you do is called a petition of principle
and it's never acceptable in science, in a court of law or in a
rational discussion/confrontation of arguments.
There is a very important reason for mentioning this. With the about 99% of
the one of the world's greatest information repositories based on such pages,
we can be certain that support for such pages will be a high priority in
future. They are, at the moment, the equivalent of a de facto standard.
Whether that will be the case in 10 years time is an interesting, but
different, topic.
[snip]
It's
definitively not my approach and, IMO, it's definitively not a
recommendable approach generally speaking. File bugs when it's
relevant, justified to do so at bugzilla.org, opera.beta or to the
MSIE dev. team at
http://blogs.msdn.com/dmassy/archive/2004/06/16/157263.aspx "At this
stage there isn't much more to add other than to reiterate the point
that the Internet Explorer team does exist and does care. In my
new job role I'm very interested in hearing about what you the
customers would like to see."
That's one thousand percent (1000%) more constructive, relevant and
future-positive than developing an expertise on working around bugs.
Short-term pragmatism never helps to solve problems at the source.
Given that fixing those bugs doesn't rapidly remove them from the field, you
still need the hacks & workarounds. After all, MS have brought out IE 6, but
there are still lots of instances of IE 5 that need to be taken into account.
I'm told that Safari is much better that Mac/IE, but people still send me
screen-shots of how a page has problems on Mac/IE.
MS know about the IE 5 box-model problems. And the lack of support for {
margin: 0 auto } which requires the text-align workaround. But many of my
users are still using IE 5, sometimes not on their own computers. So I have
learned how to cater for them.
[snip]
I suspect amateurs upload more webpages every day than so-called
professionals. I suspect a lot of so-called professionals upload
table-based designed webpages for no justifiable reasons.
Doesn't that last sentence contradict what you said above: "I'd say amateur
web designers are the ones not putting honest efforts into coding their
pages".
Now you are using right judgement technique. You appear to have some sort of
method or set of checklists, and make decisions accordingly. That is good.
That is what authors & publishers should be doing.
The method I use has both technical & project criteria. When judging the use
of simple layout tables, they are often seen to be an effective way of
handling a particular project. (I use checklists based on OPENframework, so
the technical qualities are: availability, usability, performance, security,
and potential for change. The project criteria are cost, risk, and time).
[snip]
I mentioned the arguments against nested tables before and several
times. I get tired out of it.
They can be effective. The main problem I have found with them is that in some
cases they don't linearise well for a speaking browser. Special care is needed
there.
[snip]
Strictly speaking, yes, they are different topics. But these often are
present in the same webpages. The common bond is absence of HTML
knowledge, absence of any sensible webpage design instruction and
frantic WYSIWYG motivations + visual-results-is-what-matters-period
goals. That's typical of amateur websites overall.
But that doesn't mean they are all bad! After all, images and text are *also*
often present in the same webpages, and that doesn't make those bad!
If you are making an argument about the advantages that all authors might get
from knowing more about HTML, fine. But they are not an argument for not using
any particular one of them, whether tables or images. Those cases have to be
made individually. And I would certainly advise *against* "mindless usage of
tables". I think all of these techniques should be used with some thought.
wouldn't be hard to find bad pages that appear to make "mindless use of CSS"!
[snip]
You won't convince
That was not my point. I say these people loving table-designs and
nested tables usually are in the same bag of people relying on <font>,
<center>, align and valign used everywhere, users, etc...
Table-design users and nested-tabled-design users are people who after
years and years of coding never upgraded their skills, never opened a
book, never went to read a tutorial on sound webpage design, etc..
An over-generalisation, of course!
DU said:Barry said:DU wrote: [snip]The fact that one can use tables and css in valid strict mode does
not per se mean that such usage is a correct and justified webpage
design decision.
But it can be. This is for the author & publisher to judge, based on
their objectives.
In a very wide majority of cases, tables and css in valid strict mode
is rare, very rare on the web. In a very wide majority of cases on
the web, nested tables, no doctype decl., <center>, <font>, ,
<img src="spacer.gif"> anywhere/everywhere etc... are the frequent
choices of amateurs and so-called professionals.
You're talking about box model now. Not tables.
Yes, that is a browser bug affecting a good chunk of people who are
still using that 5+ year old browser. This single bug deserves to be
addressed. And, at the same time, this single bug should not be an
excuse for not triggering MSIE 6 into standards compliant rendering
mode where that bug is fixed.
Of course, so-called professionals are not doing their job either.
I've seen webpages at international Banking websites which are
horrenduous from about any/every web-programming+web-authoring angle
possible, including this never-ending recourse to nested tables.
<center>: deprecated
<font>: deprecated and known to cause problems
Yup!
(v)align in table row, cells (except col and colgroup): deprecated
<spacer>: invalid, wrong, error
&nbps;: use padding instead of 20
<img src="spacer.gif">: even MacroMedia has a tutorial against
mindless use of that.
It
That too is a problem, a phenomenon which has appeared. One can now
see a css file with 40 class names, unneeded declarations, over-coding
manners, no use of inheritance, no combination, etc.. There is such a
thing as tag soup and now css declarations soup. It's basically the
results of an absence of knowledge/understanding on how to code CSS.
Maybe I have generalized here. I say I've seen (and still see) a lot
of webpages with nested tables very often using the rest of bad
markup code or weak/bad design coding techniques I mentioned.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.