A LIST Apart: For People Who Make Websites

No. 175

Discuss: The Table Ruler

Pages

 <  1 2 3 4 >  Last »

11 Ok for this aspect then

albeit Javascript dependent, but I suppose in a closed environment you can expect that.
Thanks for adding this to the discussion, if anybody needs that functionality added, this is one way to do so.

posted at 04:58 pm on March 27, 2004 by Chris

12 tfoot

Note that the tfoot element should come after thead but before tbody. This seems to be well-supported and is designed so that footer rows, e.g. totals, can displayed by the user agent before the entire table has been loaded.

posted at 06:31 pm on March 27, 2004 by Owen Rodda

13 Two things....

First, why use JavaScript at all when pure CSS can do the same thing?
Second, to be valid XHTML the tfoot tag must be placed before the tbody tag. Further, on the topic of valid XHTML, there are other errors in the example page including using the wrong mime type for an XHTML document.

posted at 07:21 pm on March 27, 2004 by lisa

14 Silly...

If IE doesn’t support it don’t use it. I don’t care if sucks of not. It’s 95% of the web.

Good article, one question:
Why return false on the mouseover?

posted at 07:25 pm on March 27, 2004 by Dante-Cubed

15 tfoot

Tfoot has to come before Tbody? Jesus that makes a lot of sense doesn’t it?

posted at 07:33 pm on March 27, 2004 by Dante-Cubed

16 Nice!

Quite useful, especially coupled with the previous article http://www.alistapart.com/articles/zebratables/ and the ability to sort columns by clicking on the column header.

Now I just need a client who needs this functionality =)

posted at 07:57 pm on March 27, 2004 by CM Harrington

17 .htc

No one has mentioned the .htc behavior hack? (http://www.xs4all.nl/~peterned/csshover.html) This seems to work fine. And when/if the time comes when IE isn’t dependant on this hack you just remove the line from you css file.

posted at 10:30 pm on March 27, 2004 by Brian

18 Blah...

I’m just not crazy about this implementation. People have become used to the idea that hover-over effects indicate links, and this could confuse them unless you spell out the script’s purpose above the table.

posted at 10:32 pm on March 27, 2004 by guyPaulo

19 Opera

You might want to check out how Opera (7.23) handles this, marking the actuall text and not the background.

posted at 12:26 am on March 28, 2004 by Snowflake

20 tfoot

Tfoot has to come before Tbody. This is so the browser can render the Thead and Tfoot while the rest of the Tbody (which could potentially have a large amount of data) is being downloaded.

posted at 12:58 am on March 28, 2004 by starvingartist

Pages

 <  1 2 3 4 >  Last »

Discussion Closed

New comments are not being accepted, but you are welcome to explore what people said before we closed the door.

Got something to say?

Discuss this article. We reserve the right to delete flames, trolls, and wood nymphs.

Create a new account or sign in below if you’d like to leave a comment.

Remember me

Forgot your password?

Subscribe to this article's comments: RSS (what’s this?)