• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to add css to 2.1.3

#1
[eluser]stv[/eluser]
i want to know how to add css on homepage in controller

#2
[eluser]igna vegas[/eluser]
in your view, into <head> tags


Code:
<link rel="stylesheet" href="<?php echo base_url() ?>css/styles.css" type="text/css" media="screen"/>

your css folder, must be in the root. NOT into application folder.


#3
[eluser]stv[/eluser]
<link rel="stylesheet" href="css/styles.css" type="text/css" media="screen"/>
this is also working


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.