# Style lost in web client

**URL:** <https://forum.servoy.com/t/style-lost-in-web-client/10594>\
**Category:** Classic Servoy\
**Created:** [April 29, 2009, 5:41pm UTC](https://forum.servoy.com/t/style-lost-in-web-client/10594 "2009-04-29T17:41:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveInLA](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@SteveInLA](https://forum.servoy.com/u/SteveInLA)\
**Post date:** [April 29, 2009, 5:41pm UTC](https://forum.servoy.com/t/style-lost-in-web-client/10594/1 "2009-04-29T17:41:02Z")

</div>

Has anyone else experienced this? I have not been able to pin down the exact course of events that leads to this, but it seems that my web client solution loses its style formatting at some point. This happens primarily in Internet Explorer 7, but I have also noticed it happening while previewing my solution from Developer, where my default browser is Firefox. All of the forms for my solution are using the same style sheet. The solution is running from within a frame on another page that has its own CSS, but this happens even when running the solution in its own window. Restarting the server seems to fix the problem, though when one client is experiencing this, it does not seem to affect all other clients. As more and more clients are connecting to this solution (a shopping cart), restarting the server is becoming less available as an option.  
Here is all my relevant server info:

Server Information  
Servoy version 4.1.2 -build 663  
Repository version 35 (4c39381d-4110-4625-ba66-bb6c203bf6b6)

JDK Information  
java.vm.name=Java HotSpot™ Client VM  
java.version=1.6.0\_13-b03  
java.vm.info=mixed mode  
java.vm.vendor=Sun Microsystems Inc.

Operating System Information  
os.name=Windows 2003  
os.version=5.2  
os.arch=x86

System Information  
Heap memory: allocated=158676K, used=124862K, max=260160K  
None Heap memory: allocated=63584K, used=63314K, max=163840K

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [May 5, 2009, 7:14pm UTC](https://forum.servoy.com/t/style-lost-in-web-client/10594/2 "2009-05-05T19:14:03Z")

</div>

and when this happens if you just do a hard refresh in the browser so that the browser really gets the stylesheet again from the server?

How is your flow do you set main pages or constantly just tabs?

---

<div class="post-metadata">

**Author:** ![SteveInLA](https://avatars.discourse-cdn.com/v4/letter/s/898d66/32.png) [@SteveInLA](https://forum.servoy.com/u/SteveInLA)\
**Post date:** [May 5, 2009, 7:17pm UTC](https://forum.servoy.com/t/style-lost-in-web-client/10594/3 "2009-05-05T19:17:35Z")

</div>

When this happens, a hard refresh does not fix the problem. The only thing that fixes it is restarting the Servoy service. This solution sets main pages, and it is odd that the first page usually appears correctly, but all pages after the first page lose their styles.

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [May 6, 2009, 7:50am UTC](https://forum.servoy.com/t/style-lost-in-web-client/10594/4 "2009-05-06T07:50:38Z")

</div>

if find this very weird, because if one client first goes ok for that form and then later on othe clients show that form wrong then you should try to compare the stylesheets they both get  
Because the server should just always send out the same style sheet (if you dont do solutionModel or replaceStyle) for a specific form, it will generate it once.

Are the positions and so on still correct? (because this is the same stylesheet now in 4.1.2.)
