Welcome Guest, Not a member yet? Register   Sign In
The style sheet for a view page can't be separated in an Includes folder?
#5

[eluser]CroNiX[/eluser]
You can't directly access anything in the /system or /application folder via the URL. They are protected. So putting your css file in the views dir won't be directly accessible from the URL, which means you can't use them for assets.
Code:
-/web root
--/system
--/application
--/css
----mystyles.css
--/js
----myjs.js
--/images
----myimage.jpg
--/index.php
Code:
<style type='text/css' media='all'>@import url('/css/mystyles.css');</style>
<skript type="text/javascript" src="/js/myjs.js"></skript>
<img alt="" src="/images/myimage.jpg" />


Messages In This Thread
The style sheet for a view page can't be separated in an Includes folder? - by El Forum - 07-24-2012, 11:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB