View Full Version : Multi-collum tables controlled by stylesheets
Bry Man
08-15-2003, 03:59 AM
Hi I was wondering how one would make a table that has multiple collums and can be controlled by an external style sheet ive tried before but i was putting it between <div class="table style"></div> to call the style for the table perhaps there is another way of doing this. The reason why I want a table with these specifications is because my site allows users to pick between several different stylesheets and i wanted the tables to change with them....The tables are for downloads
MotherNatrsSon
08-15-2003, 04:20 AM
This ought to give you some ideas:
http://www.w3.org/TR/REC-CSS2/tables.html
MNS
You may use <div> also, but give them IDs (<div id="tableid"></div>).
(You may even use ID inside the TABLE tag, but be carefully, 'cose some CSS style proprieties change different in IE and NS.)
So you can treat the tables as objects and change their styles dynamically (using getElementById method, for instance ... see DHTML methods for that)
Well I have made a page you might want to take a look at. The address is http://www14.brinkster.com/mi01/mariah/. I don't know how good it is, but I think it turned out great.
~Jan
Jan, did you use an XML data organizer? How? Can you give me some details, please? I am interesred in XML "embeding"... I am rather a newbie on this kind of stuff...
Well actually, Kor, I simply made a table and added the data to it manually. Then, I just formatted the table elements and everything else in CSS. Not anything more special than that :)
~Jan
ah... in that case all your XML specifications are just "deco-art" :-))...
I am seeking an XML editor or similar to build XML organizers for some e-coomercial sites, with huge amount of data and frequent up-dating...
Kor, I wish you all the luck and hope you find what you're seeking for :thumbsup:
~Jan
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.