UI formatting messed up in IE using IP address instead of localhost

I have an application developed using Primefaces 2.2.1 and JSF 2.0 deployed on a local Glassfish 3.1 machine.

The problem is that when accessing the application using http://localhost:8080/MyAppformatting the user interface is in order. But if I get access to an application using http://ip-address:8080/MyAppinstead of localhost in the URL, the formatting of the user interface is a bit confused.

This problem only occurs in IE (I have version 8.0) and not in FF. What is the difference between usage localhost:8080and ip-address:8080url? Below are photos illustrating my problem.

Usage http://ip-address:8080/MyApp:

enter image description here


Usage http://localhost:8080/MyApp:

enter image description here

Thank.

+4
2

() IP- IE quirks, , , , , IE box, . IE box . IP- IE.

enter image description here

+4

IE > 7 (.. IE7). quirks. , Intranet.

+2

All Articles