[TYPO3] BE tree - HTML issue

Rakowski Tomasz raczek at open.infi.pl
Fri Nov 9 00:14:36 CET 2007


I've created a tree of categories using the way present in BE tree.
But there is small problem:

my tree resides in left column of the two-column table of fixed widths.
The widths must be fixed, so sometimes when category name is too long it 
  breaks to new line - and here is the problem. The new line begins from 
the most left side of the tree even though the category is on some deep 
level. So it looks terrible.
All I want is to have that new line to begin directly under the first 
character of the whole category name.

Here is my table and it's contetns structure:


<td width="33%"></td>
<td width="67%"></td>

<ul class="tree">
<span><img src=minus.gif width="18" height="16" alt="" /></span>
<a href="index.php?id=.." >Category </a>
<span><img src=line.gif></span>
<span><img src=join.gif width="18" height="16" alt="" /></span>
<a href="index.php?id=" >Subcategory 1


What I want is to have this SPAN tag working the way I described it above.

Can anyone give me a HTML, CSS hint?


More information about the TYPO3-english mailing list