[TYPO3] BE tree - HTML issue
Chrissitopher at gmx.de
Fri Nov 9 00:47:03 CET 2007
maybe you can make it work using another unordered list instead of <span>?
<span><img src=minus.gif width="18" height="16" alt="" /></span>
<a href="index.php?id=.." >Category </a>
Then you can use css to have a layout the way you want it.
I think it should work using "list-style-position" for the new <ul>-tag.
"Rakowski Tomasz" <raczek at open.infi.pl> schrieb im Newsbeitrag
news:mailman.1.1194563615.773.typo3-english at lists.netfielders.de...
> 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