demo online:
thay bằng:
Tiếp theo vào Css thêm:
Nguồn: vietnamvui.org
Vào index_box tìm:[You must be registered and logged in to see this link.]
- Code:
{catrow.forumrow.FORUM_DESC}
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
thay bằng:
- Code:
{catrow.forumrow.FORUM_DESC}
<fieldset class="main-content standalone" style="width: 350px; height: 90px"><legend style="font-variant: small-caps; margin-top: -10px; font-family: Arial; color: #3D992C; font-size: 15px; font-weight: bold;">Diễn Đàn Con</legend>
<div style="text-align: justify; overflow-x: hidden; overflow-y: scroll; padding-right: 15px; height: 70px; margin-right: -10px;">
<span style="background-color: #fbfbfb; font-family: Tahoma;"><div class="smallrum">
<!-- BEGIN switch_moderators_links -->
<br />
{catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
<!-- END switch_moderators_links -->
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
<strong>{forumrow.L_SUBFORUM_STR}</strong>
{forumrow.SUBFORUMS}
</div>
</span>
</div>
</fieldset>
Tiếp theo vào Css thêm:
- Code:
/*sap xep chuyen muc */
.smallrum{background:#fbfbfb;-moz-box-shadow:0 0 0 transparent;color:transparent;width:100%}
.smallrum a img{margin-top:-5px;padding-right:3px}
.smallrum a.gensmall{display:inline-block;height:16px;overflow:hidden;text-align:left;width:43%}
Nguồn: vietnamvui.org