W3C home > Mailing lists > Public > www-talk@w3.org > May to June 2001

RE: CSS to center a table?

From: Fish <fish@infidels.org>
Date: Sat, 19 May 2001 20:30:10 -0700
To: <www-talk@w3.org>
Message-ID: <000201c0e0dd$2c5472a0$0200a8c0@proteva>
> -----Original Message-----
> From: www-talk-request@w3.org [mailto:www-talk-request@w3.org]On Behalf
> Of Al Gilman
> Sent: Saturday, May 19, 2001 8:18 AM
> To: Fish; Harshal_bhave
> Cc: www-talk@w3.org
> Subject: RE: CSS to center a table?
>
>
> At 07:27 AM 2001-05-19 -0700, Fish wrote:
> >
> >With your approach, you're going to have to specify:
> >
> >    <TABLE class="center">
> >
> >for every table tag of every one of your web pages where you
> >want a centered table, correct?
>
> Incorrect.

Oh?

> The class mark is not required.

I know that.

> You can make centering the global default
> behavior for TABLE elements, independent
> of class, or have this style apply to (all,
> class-independent) TABLE elements appearing
> in defined contexts, etc. and later create
> special cases with a combination of context-
> pattern guards and class filters.

<yawn>

I know that.

> And you don't define a 'center' class, either
> [epithet suppressed].

   :)

> An appropriate class
> would be 'major' or something like that.  A
> contrasting class would be 'auxiliary' or
> 'annotation.'  Major TABLEs would then be

<snip>

The point Al (which I believe I made), was IF he was going to go to the trouble
of adding "class=center" to each of the table tags where he wanted a centered
table to appear[*], then he should just change it to "align=center" instead.
(And yes I realize align=center is deprecated, but he didn't say whether or not
he cared about that now did he?)

> HTH
>
> None of this is promised to make it work, however.
>
> Al

--
"Fish" (David B. Trout)
   fish@infidels.org

[*]  That IS, afterall, what was implied by the wording of his original
question/problem. It's completely beside the point as to whether he actually
MEANT that or not. If that is indeed NOT what he meant to imply, then IMO he
should be a little more careful how he words his questions so as to not mislead
others as to the true nature of his "problem" and how he's intending to resolve
it.
Received on Saturday, 19 May 2001 23:30:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 October 2010 18:14:26 GMT