function EntryPage::print_comments (Comment[] cs) { if (size $cs == 0) { return; } foreach var Comment c ($cs) { var int indent = ($c.depth - 1) * 25; "<div style='margin-left: ${indent}px; margin-top: 5px'>\n"; if ($c.depth < 3) { $this->print_comment($c); } else { $this->print_comment_partial($c); } "</div>"; $this->print_comments($c.replies); } }
because that breaks the layout (see at http://www.livejournal.com/users/crschmidt/238227.html?nc=3&s2id=358367 ). Unfortunately, my knoweldge of this layout is kind of limited, so I was hoping someone might have an idea what HTML is used to generate those componenty boxes.
Thanks in advance for any help.