1

I am working on a web project. and I am using glyphicon for ICON. It's working well in other than IE (7 version above )browser. But there in IE 7 glyphicon could not loaded so, i use glyphicons-ie7.css. It's working while I am browsing page from local machine(ie. http://localhost:70/) but not working while accessing from my local IP(ie. http://192.168.0.240:70/). :(

following is screenshot of my problem.

This is a screenshot from localhost This is a screenshot from localhost

This is a screenshot of a page accessing from my local IP address

This is a screenshot of a page accessing from my local IP address

Umesh
  • 193
  • 1
  • 10

1 Answers1

0

When you access localhost, your /etc/hosts file will tell your computer not to look any further and redirects you to your own computer. When you access the local IP adress, your computer will ask the router to fetch the data, and your router will then point back to your computer.

In your case, the router can't get the glyphicons in the right way.. (See this post)

Community
  • 1
  • 1
Dirk Jan
  • 2,355
  • 3
  • 20
  • 38