473,466 Members | 1,370 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Tricky Tree Structure with CSS

M2
Hi All,
I'm trying to move an application of mine into the 21st century and ditch
the table intensive layout in favour of CSS. Where I am stumbling can be
seen here:

http://www.csu.edu.au/student/getonw...orum/forum.gif

The layout is currently done using tables but given the number of messages
can be considerable each row is in its own table. While this allows browsers
to start rendering before the download is complete it weighs an aweful lot
in code. To avoid this I was thinking of CSS but now I'm wondering.

The indented subjects looked like a great use for a list but as soon as a do
that I cannot find a way to associate the other fields with the same
horizontal location (row in table-speak) thus making me think I am perhaps
abusing the idea of lists.

Anyways, if anyone has any ideas and/or suggestions on the whole tables
versus CSS for this application I'd appreciate them.

Thanks,
Matt.
Jul 20 '05 #1
2 3363
M2 wrote:
Hi All,
I'm trying to move an application of mine into the 21st century and ditch
the table intensive layout in favour of CSS. Where I am stumbling can be
seen here:

http://www.csu.edu.au/student/getonw...orum/forum.gif

The layout is currently done using tables but given the number of messages
can be considerable each row is in its own table. While this allows browsers
to start rendering before the download is complete it weighs an aweful lot
in code. To avoid this I was thinking of CSS but now I'm wondering.

The indented subjects looked like a great use for a list but as soon as a do
that I cannot find a way to associate the other fields with the same
horizontal location (row in table-speak) thus making me think I am perhaps
abusing the idea of lists.


A list is something one-dimensional. But your application offers two
dimensions. So a table is ok. You already have table column headers,
well, at least it looks like table headers :-). But this implies, that
you cannot markup the hierarchy. Unfortunately, HTML doesn't offer
markup for a tree like in XUL.
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)

Jul 20 '05 #2
On Tue, 05 Aug 2003 04:24:59 GMT, "M2" <m2@nowhere.com> wrote:
I'm trying to move an application of mine into the 21st century and ditch
the table intensive layout in favour of CSS. Where I am stumbling can be
seen here:

http://www.csu.edu.au/student/getonw...orum/forum.gif

The layout is currently done using tables but given the number of messages
can be considerable each row is in its own table. While this allows browsers
to start rendering before the download is complete it weighs an aweful lot
in code. To avoid this I was thinking of CSS but now I'm wondering.


The list of messages certainly looks like a table to me. Just take the
page header and footer out of the table. You can use a CSS class to put
a bit of padding on the indented messages.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Steve Johnson | last post by:
Been banging my head on this for two days now. Hope someone can help! My test program below is in the form of a single JSP, with a Node class build in. (All the coded needed to run is below.) ...
1
by: googleo | last post by:
Hi, in my application I want to handle and store data in a hierarchic data structure. For example: persons who manage houses; houses have various numbers of floors; floors have various numbers...
1
by: Srihari | last post by:
I'm trying to develop a tree structure using javascript. The node values of the tree are generating from a mysql table depending on login. The tree structure contains 3 sub levels. I developed...
4
by: Stephan Tobies | last post by:
Hi everyone, I am looking for a good data structure that could be used to represent families of trees with shared sub-trees and copy-on-write semantics. On a very abstract level, I would like...
3
by: _DS | last post by:
Problem with mapping a directory tree to a tree control: It takes a while to recurse subdirs and map them to nodes. This is solved in some books I've seen (MacDonald, Albahari) by reading the...
1
by: David Hirschfield | last post by:
I've written a tree-like data structure that stores arbitrary python objects. The objective was for the tree structure to allow any number of children per node, and any number of root nodes...and...
5
by: hankypan1 | last post by:
Hi All, I need a tree data structure for my application. It is the non -cyclic simple tree where i can have any number of children node and each child can recursively become a sub tree like a...
8
by: =?ISO-8859-1?Q?m=E9choui?= | last post by:
Problem: - You have tree structure (XML-like) that you don't want to create 100% in memory, because it just takes too long (for instance, you need a http request to request the information from...
0
by: mac | last post by:
I found that with memory allocating techniques used nowadays (addresses alignment, eg. on 32bit machines) one can detect loops in a tree structure very fast, without using extra memory. This is due...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.