I'm using codeigniter, I loaded all css files and those are working very well. My directory structure is displayed in following image:
I loaded style.css
using this code :
<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>assets/css/style.css">
all style attributes are set very well and working. But after that I found images which are set inside css file are not displaying on my site! My code in css :
.social_nav li.facebook a{ background-image:url("images/socials.png"); background-position:0 -30px; background-size:270px 60px}
So is their any procedure to set base_url()
for background-image:url("images/socials.png"