|
Posted by dorayme on 11/20/07 00:42
In article <wpp0j.41344$T8.21141@newsfe5-win.ntli.net>,
Brian Robertson <brian@[nospam].com> wrote:
> I am redesigning a web page that runs to some 1800 pages consisting
> mostly of tables to show data. (Hey, there may be better ways of doing
> it than tables, but what the hell?)
There is no better way to make a table than to use the tool that
is designed to make them, tables.
> I have tried converting the original
> pages from HTML formatting to CSS, but it is hard and frustrating work,
> ultimately doomed to failure IMHO. I may as well start at square one
> with a new layout.
You can at least not have inline styles as in your code, hive
those off to the css in the head or otside css linked file.
>
> What I want to know is this: how can I apply particular attributes to
> columns rather than rows, or can't I, or is there a next best fix?
You might have to study col and colgroup:
http://www.htmldog.com/guides/htmladvanced/tables/
Or if you want low tech, it is really simple, you simply class
all the cells in each col and say what colour background you want
in each cell:
http://netweaver.com.au/alt/robertson.html
--
dorayme
Navigation:
[Reply to this message]
|