Jump to content

codeigniter and css


GD77

Recommended Posts

You should look into and use "relative paths" (or URLs).  Then you can provide the location of the background image relative to the location of the CSS file.  Something like:

 

url('../../images/image.jpg')

 

The above (for example) would traverse two levels up from where the CSS file is located and then into an "images" subdirectory to find image.jpg

Link to comment
https://forums.phpfreaks.com/topic/276185-codeigniter-and-css/#findComment-1421863
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.