box chia 2 cột của mình bị ntn là sao hả m.n
[Hỏi đáp] Box chia 2 cot
20.05.15 17:481
box chia 2 cột của mình bị ntn là sao hả m.n
22.05.15 17:542
Hướng Dẫn
1. ACP> Display> Structures & Hierachy
> Sub-level links on index: chọn with pics
> bấm save
2. ACP> Display> Templates> QLTT> index_box
- chèn cái ni trên cùng:
- Code:
<style>#smallrum{
color: #ccf0ff;width: 375px;}
#smallrum a img{vertical-align: middle; padding-right: 2px;}
#smallrum a.gensmall {
display: inline-block;
text-align: left;
width: 160px;
}
h2 {color:red}
#smallrum a:link,#smallrum a:visited{color:#000000}
</style>
- tìm và thay:
- Code:
{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
- Code:
<div id="smallrum">{catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}</div>
cho code này vào CSS
- Code:
/* chuyen muc con auto*/
#smallrum{padding: 0.8em 1em; margin: 3px 1px;
color: #FFFFFF; width: 375px;}
#smallrum a img{vertical-align: middle; padding-right: 2px;}
#smallrum a.gensmall {
display: inline-block;
text-align: left;
width: 160px;
}
Nếu mà làm xong box nó nằm loạn xạ thì các bạn
Vào ACP> Display> Colors & Pics> PIcs management>
Advance mode (mã mở rộng)> Mini-icons
> Mini post: điền link ảnh này cho phù hợp nhá
> bấm save.