codeigniter에서 CSS 템플릿 만 구성하는 데 문제가 있습니다. 예 : 저는 codeigniter에서 초보자입니다. 어느 누구나 내가 그것을 구성하거나 튜토리얼을 구성 할 수 있다고 말할 수 있습니다. 당신이 내 나쁜 영어를 이해 바랍니다 .. 여기 codeigniter에서 CSS 템플릿을 구성하는 데 도움이 필요합니다.
home.php
<?php $this->load->view('header_final');?>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title"><a href="#">Home</a></h2><br>
<div class="entry">
<p><img src="<?=site_url();?>images/img08.jpg" width="538" height="200" alt="" /></p>
<p>Sylhet Engineering College (SEC), established in the year 2007 under the School of Applied Science and Technology, Shahjalal University of Science and Technology is best of its kind with a motto to produce the best in class engineers for the 21st century in Bangladesh. There are five universities of Engineering and Technology and some private universities in the country for providing engineering education at B.Sc level which is not sufficient to meet the requirement of today's fast paced engineering sector of Bangladesh. As a divisional city of Bangladesh, Sylhet had no engineering institute. So the Government of Peoples Republic of Bangladesh has established Sylhet Engineering College with a vision to expand the engineering education of Bangladesh as an engineering faculty section of Shahjalal University of Science and Technology.</p>
</div>
</div>
<div class="post">
</div>
<div style="clear: both;"> </div>
</div>
<!-- end #content -->
<?php $this->load->view('footer_final');?>
home.php
<?php
class Home extends Controller {
function Home()
{
parent::Controller();
}
function index()
{
$this->load->view('home');
}
}
힌트 내 코드
입니다 :
header_final.php
및 footer-final.php