RichFaces - style problem (publishing on server)
When I run my application directly from development enviroment (eclipse + tomcat 7 at localhost), graphic looks different than when I start it from server (not localhost).
localhost (eclipse, tomcat, firefox 5):
on server (tomcat, firefox 5):
All neccessary libraries are in WEB-INF\lib, style.css is also present, project is deployed as W开发者_开发百科AR file on tomcat server.
Don´t you know where could be the problem?
The differences are caused by the difference in the software/hardware of the machine which you used to view the webpage. In the second screen the fonts are not antialiased which means that the operating system of the machine has cleartype/antialiasing turned off or that the graphics card simply doesn't support it. As to the colors, this can happen when the machine doesn't support for example 32k colors, but only 16k or even less. This can be either an operating system setting, or a poor graphics card, or being just a screenshot taken over a remote desktop connection which is usually returned with less colors to save network bandwidth.
They are not caused by CSS/JSF/RichFaces in any way.
精彩评论