Re: Tables question.

by "Beauford.2002" <beauford.2002(at)rogers.com>

 Date:  Mon, 3 Feb 2003 20:37:02 -0500
 To:  "Art Zoller Wagner" <art(at)zollerwagner.com>,
<hwg-basics(at)hwg.org>
 References:  markone
  todo: View Thread, Original
These would have to be automatic as I don't know how many entries there are
going to be.


----- Original Message -----
From: "Art Zoller Wagner" <art(at)zollerwagner.com>
To: <hwg-basics(at)hwg.org>; "Beauford.2002" <beauford.2002(at)rogers.com>
Sent: Monday, February 03, 2003 8:06 PM
Subject: Fw: Tables question.


> Hi, Beauford,
>
> [quote]I have a guestbook and the entries are in a table, but I want to
have
> it so every second entry is the opposite colour (i.e. white on black then
> black on white - or something like that, I'll figure the colours out
later).
> Is this possible with just HTML or would I need to use some kind of style
> sheet - or something else altogether? Beauford[/quote]
>
> Did you want this to format itself automatically or are you going to do
each
> row by hand?
>
> If it's done automatically, I can imagine creating a little script that
> assigns one of two css classes to alternating rows. I'm not sure, but I
> would tend to apply the classes to the <td> and not the <tr> tags.
>
> If I was doing it by hand, I'd do the same thing: use css with two
> alternating class for each table row. You could also do it with <span> or
> <div> tags, I think, within table cells, but that probably makes less
sense.
>
> For a better answer, you may need to explain how you're processing these
> entries in the guestbook.
>
> HTH, Art
>
>
>
>
>
>
>
>
>
>
>
>

HTML: hwg-basics mailing list archives, maintained by Webmasters @ IWA