html - External Style Sheet error in the codeigniter framework php? -


i put code in search.php 1 of view pages , had external style sheet

i called inside file using

<head> <link rel="stylesheet" type="text/css" href="mystyle.css" /> </head> 

but not working how can solve problem??? if use

include('mystyle.css'); 

it works wanna use first code how can use correctly???

you have wrong path, try:

<link rel="stylesheet" type="text/css" href="<?php echo base_url();?>css/mystyle.css" /> 

Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -