Adding external links in CodeIgniter

1. Go to application –> config –> autoload.php
2. $autoload[‘helper’] = array(‘url’, ‘file’);
3. Have to put the files on root folder.
4. For css <link rel=”stylesheet” type=”text/css” href =”css/style.css” />
5. For image <img src=”images/a.jpg” width=”400″ height=”400″ alt=”a”/>

Put the links in head tag

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s