Welcome Guest, Not a member yet? Register   Sign In
Accessing CSS and JS for views
#1

Hi there,

I have created a file structure like this:

application
system
views
       welcome_message.php
       \JS
       \CSS
main_site

The main index.php file is in main_site and I've set up the paths to the application, system and views correctly

The problem I have is how do I access the JS files and CSS files from views that I create?

I have tried

Code:
   <!-- Bootstrap core CSS -->
   <link rel="stylesheet" href="../css/bootstrap.min.css">

to varying levels, but none of them work.

How do I create the correct path to those files?

Thanks,

JMB
Reply


Messages In This Thread
Accessing CSS and JS for views - by MightBeABitLate - 07-22-2018, 03:00 PM
RE: Accessing CSS and JS for views - by zurtri - 07-22-2018, 04:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB