Welcome Guest, Not a member yet? Register   Sign In
How to attach a CSS style sheet

This is Ahsan. I am new in CI. I cannot attach my .css file with my view file. Could any one please give me step by step direction how can i do that.

I made my controller class as:

class Home extends CI_Controller {

function index(){

Thank you.

[eluser]Php Coder[/eluser]
السلام عليكم اخ احسان

بمكانك استدعاء ملف الcss

باحدي هذة الطرق
وضع ملف ال
في المجلد الرئيسي
واستدعاة بهذة الطريقة
<LINK rel="StyleSheet" href="<?=base_url()?>style.css" type="text/css" >
ضع هذا الكود في الصفحة التي تريد عمل لها view
مع الغاء index.php
من رابط الموقع بطريقة ال

Could you please write in English please.

[eluser]Php Coder[/eluser]
Google translation of this because my English is weak
Hello brother Ahsan Ahmad

Where you call the css file

One of these roads
1 -
The file mode
In the main folder
And summoned him in this way
<LINK rel = "StyleSheet" href ="<?= base_url ()?> Style.css "type =" text / css ">

Put this code in the page that you want to view it
With the abolition index.php
Website of the way

Theme © iAndrew 2016 - Forum software by © MyBB