Archive for July, 2005

HTML/DOM Scrolling Table Body

Wednesday, July 20th, 2005

Tables should have scrollable bodies. With DIVs (and most other block elements) you can simply set their height/width/overflow, but for some reason tables were left out in the cold. A simple solution for this is to wrap your table in a DIV or SPAN tag and call it a day. (in fact I’ve been using that trick for years on this site - check out the “NEWS / WHAT’S NEW @ Kered.org” section of my front page) But that will also scroll the table headers, something I wouldn’t want displaying actual tabular data.So what to do? Fire up Bluefish and get to work!

(more…)


<Kered.org>   © Copyright 2000-2005 by Derek Anderson
Get Firefox