Relative includes

#3
[eluser]John_Betong[/eluser]
 
I think that the CSS file should be part of the application.

I have my CSS files in a ./css directory within the application folder.

Code:
<base href="<?= base_url() .APPPATH ?>" />
  <link type="text/css" href="./css/ss_green.css" rel="stylesheet" />

This is ideal for copying/zipping the whole application directory and not having to scratch around for files outside of the application. It works for both localhost and online.
 


Messages In This Thread
Relative includes - by El Forum - 01-01-2008, 07:07 AM
Relative includes - by El Forum - 01-01-2008, 10:41 AM
Relative includes - by El Forum - 01-01-2008, 09:14 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.