admin [—»Sói™~]-[Ðại Ma Ðầu]
Giới tính : Chinese zodiac : Bài viết : 1042 Xu : 158 Thanked : 650 Sinh Nhật : 20/09/1990 Tham Gia : 15/07/2011 Tuổi : 33 Yahoo : Hà Nội Nghề Nghiệp : Giáo Sư Status : hgfggggggggggggg
Character sheet Tài Sản:
| Tiêu đề: [Code] Index box 2 Cột cua 4forum phpbb2 . Thu Aug 04, 2011 11:40 am | |
| Đây là cái index box 2 cột nè bạn. Bạn về sửa lại theo ý thích nhá ! Đây là code index box, xóa hết cái index box cũ và thay = code này nhé ! - Code:
-
<table width="100%" border="0" cellspacing="1" cellpadding="0" align="center"> <tr> <td valign="bottom"> <!-- BEGIN switch_user_logged_in --> <span class="gensmall">{LAST_VISIT_DATE}<br /> {CURRENT_TIME}<br /> </span> <!-- END switch_user_logged_in --> <div class="nav"><a class="nav" href="{U_INDEX}">{L_INDEX}</a>{NAV_CAT_DESC}</div> </td> <td class="gensmall" align="right" valign="bottom"> <!-- BEGIN switch_user_logged_in --> <a class="gensmall" href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><br /> <a class="gensmall" href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a><br /> <!-- END switch_user_logged_in --> <a class="gensmall" href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> </td> </tr> </table> <!-- BEGIN catrow --><!-- BEGIN tablehead --> <!-- VnSkin Dong Khung --> <table cellpadding="0" cellspacing="0" width="100%" align="center"> <tr> <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_t10.png" alt="" /></td> <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_t11.png) repeat-x top left" width="100%"> </td> <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_t12.png" alt="" /></td> </tr> <tr> <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_s10.png) repeat-y top left" valign="bottom"> </td> <td>
<table class="tborder" border="0" align="center" cellpadding="6" cellspacing="1" width="100%"> <tr> <td class="tcat" colspan="5"> <a style="float: right;" href="#top"><img src="http://i64.servimg.com/u/f64/15/44/78/93/collap11.gif" alt="" border="0"></a> <center>{catrow.tablehead.L_FORUM} </center> </td> </tr> <tr><td> <ul id="c3z"> <!-- END tablehead --> <!-- BEGIN forumrow --><li class="main-content"> <!-- begin vien top setup --> <div class="tren"> <div class="tren_trai"> <div style="" class="tren_phai"> </div></div></div> <div class="doc_trai"> <div class="doc_phai"> <div class="doc_duoi"> <div style="padding-left: 14px; padding-right: 14px;"> <!-- end vien top setup --> <table> <tbody><tr> <td> <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td><a class="smallfont" href="{catrow.forumrow.U_VIEWFORUM}"><strong><font color="darkred">{catrow.forumrow.FORUM_NAME}</font></strong></a><br /> <span class="smallfont">{catrow.forumrow.FORUM_DESC}</span> </td> </tr> </tbody></table>
<div style="border:lime 1px dashed;margin:1px;padding:1px" align="left"> <div class="smallfont"><strong><center>Chủ đề: {catrow.forumrow.TOPICS} | Bài gửi: {catrow.forumrow.POSTS}</center> </center></strong></div></div>
<div style="border:lime 1px dashed;margin:1px;padding:1px" align="left"> <div class="smallfont" align="left"> <div style="white-space: nowrap;" class="c3zone"><center>{catrow.forumrow.LAST_POST}</center> </div></div> </div>
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS} <!-- BEGIN switch_moderators_links --><font size="2" face="Times New Roman" color="navy">Người điều hành : {catrow.forumrow.switch_moderators_links.MODERATORS}</font> <!-- END switch_moderators_links --> </div>
<!-- begin vien bot setup --> </div></div></div></div> <div class="duoi"> <div class="duoi_trai"> <div class="duoi_phai"> </div></div></div>
</li></span> <!-- END forumrow --> <!-- BEGIN tablefoot -->
</ul></td></tr></table></td> <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_s11.png) repeat-y top right" valign="bottom"> </td> </tr> <tr> <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_f12.png" alt="" /></td> <td style="background: url(http://i14.servimg.com/u/f14/14/04/65/68/post_f11.png) repeat-x top left" width="100%"> </td> <td><img src="http://i14.servimg.com/u/f14/14/04/65/68/post_f10.png" alt="" /></td> </tr> </table> <!-- End VnSkin Dong Khung --> <img src="{SPACER}" alt="" height="5" width="1" /><!-- END tablefoot --><!-- END catrow -->
Sau đó vào CSS chèn code này vào là xong. - Code:
-
li.main-content {list-style: none; display:inline; width:49%} ul#c3z {list-style: none; padding: 0px;width:100% !important;margin: 0;float: left} #c3z li {width:49%;float: left;margin-left: 0px; padding: 4px;} .c3zone strong, .c3zone img {float:right} .c3zone a {font-weight:bold; font-size:11px;padding-right:5px} .tren_trai { background: url(http://i64.servimg.com/u/f64/15/44/78/93/tren_t10.gif) no-repeat bottom left; height:14px; } .tren_phai { background: url(http://i64.servimg.com/u/f64/15/44/78/93/tren_p10.gif) no-repeat bottom right; height:14px; } .tren { background: url(http://i64.servimg.com/u/f64/15/44/78/93/tren10.gif) repeat-x bottom left; height:14px; } .duoi_trai { background: url(http://i64.servimg.com/u/f64/15/44/78/93/duoi_t10.gif) no-repeat top left; height:14px; } .duoi_phai { background: url(http://i64.servimg.com/u/f64/15/44/78/93/duoi_p10.gif) no-repeat top right; height:14px; } .duoi { background: url(http://i64.servimg.com/u/f64/15/44/78/93/duoi10.gif) repeat-x top left; height:14px; } .doc_trai { background: url(http://i64.servimg.com/u/f64/15/44/78/93/doc_tr10.gif) repeat-y top left; } .doc_phai { background: url(http://i64.servimg.com/u/f64/15/44/78/93/doc_ph10.gif) repeat-y top right; } .smallfont {font-size: 11px}
P/S: Khi dùng nhớ up lại tất cả link ảnh trong CSS nhé, không sau này die ráng chịu à
Nguồn: c3z.co.cc
| |
|