• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
image problem

hey guys i have a problem. my image file wont view after i go to the other pages also my css code. What should i do? i have a separate file for header and footer.
And in my header there is the navigation menu also some image. If i want to go to other pages i click one of my navigation menu. and after that the images in my header wont view. what's happening? is it about the location of my images? What should i do? help me guys please....

do you have it on-line?

view source of the page on both sites: where everytning is ok, and where image is not showing up. maybe this will give you some tip

[eluser]Abdul Malik Ikhsan[/eluser]
just add the base_url() before img path.
<img src="&lt;?php echo base_url(); ?&gt;path/to/img/img.jpg" />

thanks it works!!!

[eluser]Abdul Malik Ikhsan[/eluser]
You're welcome

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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