Welcome Guest, Not a member yet? Register   Sign In
define base_url()
#4

(04-07-2016, 01:39 AM)davy_yg Wrote: Okay looks good!  Now, I am trying to post this:

views/cms/index.php


PHP Code:
<link href"<?php echo base_url();?>style.css" rel="stylesheet" type="text/css" media="screen">
<
script src="js/jquery.min.js" type="text/javascript"></script>
<
script src="js/chili-1.7.pack.js"></script>
<
script src="js/jquery.cycle.all.js" type="text/javascript"></script>
<
script src="js/jquery.easing.1.3.js" type="text/javascript" ></script

I am trying to make style.css works!  I wonder why my style.css does not work.
If your css files are in de folder /css then try:

PHP Code:
echo base_url().'css/style.css'
Reply


Messages In This Thread
define base_url() - by davy_yg - 04-06-2016, 10:36 PM
RE: define base_url() - by Narf - 04-07-2016, 12:20 AM
RE: define base_url() - by davy_yg - 04-07-2016, 01:39 AM
RE: define base_url() - by EricP - 04-07-2016, 02:53 AM
RE: define base_url() - by jaynarayan - 04-07-2016, 10:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB