|
![](/i/fill.gif) |
And lo On Tue, 21 Sep 2010 21:59:13 +0100, Orchid XP v8 <voi### [at] dev null>
did spake thusly:
> On 12/09/2010 01:21 PM, Orchid XP v8 wrote:
>
>> 2. I want to build a file tree where you can collapse or expand tree
>> nodes. The obvious way to do this is with the <ul> element. However, I
>> also want each file to have attributes, a creation date, and so forth,
>> and all these columns should line up vertically. The obvious way to do
>> that is with a table. But it can't be a table and a list at the same
>> time!
>>
>> I could use nested tables I suppose, but nested tables are EVIL! Is
>> there some more semantically-transparent way that I can do this?
>>
>> Root 2009-09-12 Ahsc
>> Resources 2009-09-10 Ahsc
>> Main.css 2009-09-10 Ahsc
>> Main.js 2009-09-10 Ahsc
>> Packages 2009-09-12 Ahsc
>> ansi-terminal 2009-09-12 Ahsc
>> ...
>
> Facepalm moment: Using CSS, you can render any element AS A TABLE! >_<
Well yeah that was going to be my first response, but you wanted the
columns offset within rows and that would have ended up just as messy as
absolute positioning.
--
Phil Cook
--
I once tried to be apathetic, but I just couldn't be bothered
http://flipc.blogspot.com
Post a reply to this message
|
![](/i/fill.gif) |