Welcome Guest, Not a member yet? Register   Sign In
HTML Template and Its images
#5

[eluser]Damien K.[/eluser]
Show url? You mean expose the fact that you're using CI?

Regardless, I would suggest to move the images from the template folder to, for example, http://localhost/images/. With this setup, you have no reference to "ci", and furthermore I think you must do it 'cause CI will treat everything after "ci" as controller/function/arguments. Hence, you can never access the images.

Usability? I suggest writing something like this (using your example):
background: url(/ci/application/views/template/images/img01.jpg)


Messages In This Thread
HTML Template and Its images - by El Forum - 09-18-2009, 06:33 PM
HTML Template and Its images - by El Forum - 09-18-2009, 06:46 PM
HTML Template and Its images - by El Forum - 09-18-2009, 06:57 PM
HTML Template and Its images - by El Forum - 09-18-2009, 07:26 PM
HTML Template and Its images - by El Forum - 09-18-2009, 07:34 PM
HTML Template and Its images - by El Forum - 09-18-2009, 07:42 PM
HTML Template and Its images - by El Forum - 09-18-2009, 07:48 PM
HTML Template and Its images - by El Forum - 09-18-2009, 08:02 PM
HTML Template and Its images - by El Forum - 09-18-2009, 08:19 PM
HTML Template and Its images - by El Forum - 09-21-2009, 03:54 PM
HTML Template and Its images - by El Forum - 09-21-2009, 05:17 PM
HTML Template and Its images - by El Forum - 09-21-2009, 11:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB