Welcome Guest, Not a member yet? Register   Sign In
using dreamweaver with codeigniter? please share your approach
#2

[eluser]Adam Griffiths[/eluser]
I make a folder called static in the same one as index.php, i.e.

Quote:index.php
application/
static/

Inside static I have folders for css, images etc, and then reference the CSS like this.

Code:
<link rel="stylesheet" href="<?php echo base_url()."static/_css/admin.css" ?>" type="text/css" media="screen" />

I just put ../_img/imagename.png in the CSS in relation to images.


Messages In This Thread
using dreamweaver with codeigniter? please share your approach - by El Forum - 10-22-2008, 11:10 AM



Theme © iAndrew 2016 - Forum software by © MyBB