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

#1
[eluser]rochellecanale[/eluser]
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....

#2
[eluser]Krystian[/eluser]
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

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

#4
[eluser]rochellecanale[/eluser]
thanks it works!!!

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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