W3C home > Mailing lists > Public > www-style@w3.org > August 2000

Displaying a structure in CSS

From: Spowart Gregor <Gregor.Spowart@icl.com>
Date: Tue, 1 Aug 2000 16:27:27 +0100
Message-ID: <93CB64052F94D211BC5D0010A800133102C7277F@wwmess3.bra01.icl.co.uk>
To: "'www-style@w3.org'" <www-style@w3.org>
First off, sorry to mail this to the list when it's already been mailed to a
newsgroup.
If anyone can help me with the following problem i'd be very grateful!!!

I want to display the structure in HTML:

           A
B    C    D     E
F           H
G

and have it represented in the following format (or similar) in the HTML:

 <DIV>A
  <DIV>B
   <DIV>F
    <DIV>G</DIV>
   </DIV>
   <DIV>C</DIV>
   <DIV>D
    <DIV>H</DIV>
   </DIV>
  <DIV>E</DIV>
 </DIV>

That is : the immediate children of A are B, C, D and E,
the immediate children of B is F and of F is G and
the immediate children of D is H.

I think what I need is 'display: block' nested inside 'display: inline',
which is understand isn't possible, but there is 'display: inline-block',
but which I haven't been able to get to work and I can't find many
references to it on the web.  I am using MSIE 5.5, but would prefer to get
it to work on MSIE 5.0.

I'd appreciate your help very much and thanks in advance.

Gregor Spowart

--
Gregor Spowart
ICL Application & Technical Consultancy
 
Telephone : 0118 377 5502
ICL Internal : 7303 5502
Mobile : 07711 576 495
 
Received on Tuesday, 1 August 2000 11:23:42 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:05 GMT