Welcome Guest, Not a member yet? Register   Sign In
How do u integrate Skeleton CSS with codeigniter?
#1

[eluser]GroundScore[/eluser]
I want to integrate skeleton css boilerplate with code igniter, but it wont load the css, do you know what i might be doing wrong, it all just stackes on top of each other?


Code:
<!DOCTYPE html>
&lt;!--[if lt IE 7 ]>&lt;html class="ie ie6" lang="en"&gt; <![endif]--&gt;
&lt;!--[if IE 7 ]>&lt;html class="ie ie7" lang="en"&gt; <![endif]--&gt;
&lt;!--[if IE 8 ]>&lt;html class="ie ie8" lang="en"&gt; <![endif]--&gt;
&lt;!--[if (gte IE 9)|!(IE)]>&lt;!--&gt;&lt;html lang="en"&gt; &lt;!--<![endif]--&gt;
&lt;head&gt;

&lt;!-- Basic Page Needs
  ================================================== --&gt;
&lt;meta charset="utf-8"&gt;
&lt;title&gt;Your Page Title Here :)&lt;/title&gt;
&lt;meta name="description" c&gt;
&lt;meta name="author" c&gt;

&lt;!-- Mobile Specific Metas
  ================================================== --&gt;
&lt;meta name="viewport" c initial-scale=1, maximum-scale=1"&gt;

&lt;!-- CSS
  ================================================== --&gt;
&lt;link rel="stylesheet" href="&lt;?php echo base_url().'stylesheets/base.css'; ?&gt;"&gt;
&lt;link rel="stylesheet" href="&lt;?php echo base_url().'stylesheets/skeleton.css'; ?&gt;"&gt;
&lt;link rel="stylesheet" href="&lt;?php echo base_url().'stylesheets/layout.css'; ?&gt;"&gt;

&lt;!--[if lt IE 9]>
  [removed][removed]
<![endif]--&gt;
  &lt;!-- Favic --&gt;
&lt;link rel="shortcut icon" href="images/favicon.ico"&gt;
&lt;link rel="apple-touch-icon" href="images/apple-touch-icon.png"&gt;
&lt;link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png"&gt;
&lt;link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png"&gt;

&lt;/head&gt;
&lt;body&gt;
#2

[eluser]InsiteFX[/eluser]
To load css js etc most users make an assets folder in the root with index.php
Code:
application
system
assets
-- css
-- js
-- img
-- images
-- etc;

To load you can do this:

&lt;link rel="stylesheet" href="&lt;?php echo base_url('assets/css/base.css'); ?&gt;"&gt;

CI protects the application and system folders from being accessed with a .htaccess file.




Theme © iAndrew 2016 - Forum software by © MyBB