CSS Problem Solved!!!!!!!! |
Hi guys im trying to add an external css file but don't work here is the code
Code: <link rel = "stylesheet" href = "<?php echo base_url();?>application/css/generalstyle.css"> I loaded the helper PHP Code: $autoload['helper'] = array('html','url','form','date'); any ideas why don't work? Thanks
(06-01-2017, 11:07 AM)shaser Wrote: Hi guys im trying to add an external css file but don't work here is the codeBecause of the htaccess file in the application folder. (see) move the css folder above application or My Folder structure - system - application - public --assets --- css --- js --- image --index.php
It looks fine.
What appears in your HTML and where is your css actually located? It is unusual to have a css folder inside the application folder, usually people put them in an assets folder. PS Cross posted with above answer from Paradinight which explains why assest should not be in the application folder. (06-01-2017, 11:19 AM)PaulD Wrote: It looks fine. my folder structure is application --css --view --controler --mod thanks
As Paradinight suggested above, move your css folder out of the application folder.
(06-01-2017, 11:17 AM)Paradinight Wrote:(06-01-2017, 11:07 AM)shaser Wrote: Hi guys im trying to add an external css file but don't work here is the codeBecause of the htaccess file in the application folder. (see) hi I take out htaccess and it is works. I will need that file? Thanks
(06-01-2017, 11:41 AM)Paradinight Wrote:(06-01-2017, 11:32 AM)shaser Wrote: Thanks Guys it is above application folder this is the address ../application/css/file.css but if I put htaccess file back don't work. |
Welcome Guest, Not a member yet? Register Sign In |