Welcome Guest, Not a member yet? Register   Sign In
Base Url is getting changed automatically
#11

[eluser]Matalina[/eluser]
check the source generated by your code:
Code:
<link type="text/css" href=<?php base_url()?>"css/stylesheet.css" rel="stylesheet"/>
You aren't echoing base_url and you need to include quotes around ALL of the href

you should have:
Code:
<link type="text/css" href="<?php echo base_url()?>css/stylesheet.css" rel="stylesheet"/>

typically I do this:
Code:
<link type="text/css" href="<?php echo base_url('css/stylesheet.css')?>" rel="stylesheet"/>
#12

[eluser]Ariful H Bhuiyan[/eluser]
@summer Student

Thanks man.. it worked and I got saved Smile A big Thanks


Thanks to rest of all as well for trying to help me out.

Ariful




Theme © iAndrew 2016 - Forum software by © MyBB