คือเค้าสร้าง CSS มา แต่ไม่ได้เอาคลาสที่สร้างไปใส่ในตำแหน่งของไฟล์ index.php แต่เค้าเอาไปใส่ตอนที่จะเพิ่มโมดูลนะครับ ผมสงสัยว่ามันดีกว่ายังไง คิดดูแล้วถ้าเพิ่มโมดูล เราก็เอาคลาสมาใส่เรื่อย มันเสียเวลาปล่าว ท่านอื่นมีความเห็นว่าไงหรอครับ ตัวอย่าง
indax.php
<div id="wrapper">
<div class="col_1">
<?php if ($showuser8Column && !$Edit && $option!="com_search") : ?>
<jdoc:include type="modules" name="user8" style="wrapper_box" />
<?
php endif; ?>
</div>
</div>
ซึ่งตำแหน่ง user8 เค้าใช้แค่คลาสของ col_1 ซึ่งใน template.css คือ
.col_1 {width: 230px; margin-right: 10px;}
แล้วเค้าใช้คลาสของ .box_3 มากำหนดลักษณะอีกที ซึ่งใน template.css คือ
.box_3 {
background: #fff;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
padding: 16px 20px 19px;
}
มาประกาศใช้แบบนี้

อยากทราบนะครับว่ามันดียังไงเค้าถึงทำแบบนี้ แล้วมันมีข้อเสียยังไง เหตุใดเค้าไม่ประกาศในไฟล์ index.php แบบนี้เลย
<div id="wrapper">
<div class="col_1">
<div class="box_3">
<?php if ($showuser8Column && !$Edit && $option!="com_search") : ?>
<jdoc:include type="modules" name="user8" style="wrapper_box" />
<?php endif; ?>
</div>
</div>
<div class="col-2_1">
<div class="box_3">
<?php if ($showuser8_1Column && !$Edit && $option!="com_search") : ?>
<jdoc:include type="modules" name="user8_1" style="wrapper_box" />
<?php endif; ?>
</div>
</div>
</div>

ขอคำตอบไว้เสริมความรู้อันน้อยนิดของผมทีนะครับ ^.^