Skip to main content
Known Participant
December 8, 2006
Question

CSS loading

  • December 8, 2006
  • 1 reply
  • 144 views
Hi guys, I trying to solve a problem of CSS loading. I have a dynamic text window which loads a HTML page which should be styled using CSS. but sometimes happens that the HTML page loads faster than CSS (I guess) and the text is shown without CSS styling. I asked here couple of weeks ago and someone recommend me to use _visible parameter to handle the appearence of text window. It seemed to me a good solution. Well, but the problem persist. I have checked it at least hundred times, not simulation, the real download and its how I said - sometimes (10 times from 100) the text (HTML page) is shown without being styled.

Can anyone here have a solution of this problem?
Thanks to all in adance.

here is the code I use:

This topic has been closed for replies.

1 reply

Participating Frequently
December 8, 2006
Try loading your CSS first, then when it finishes, load the HTML code. I use this process a lot when loading XML and CSS files together. I moved your .load() commands around.

Tim