stylesheet stops working
Posted in enart.xn--gmq282eogn.com on the March 22, 2010
I'm having a reoccurring problem with a section of a site that I'm working on, and more specifically, for a guestbook page that has it's dynamic text styled via css. Oddly, it will work for a couple of days, and suddenly, I'll notice the text is plain and black.
When I look at the "styles.css" file on the server after all's gone awry, there seems to be some extra whitespace w/n the file itself. Overwriting this file with the backup clears up the problem. But this, of course, still leaves me uploading a fresh copy of the "styles.css" file every other day.
Anyone find a way to tackle this obstacle, or am I just overlooking something?
thank you in advance, and happy 07! :-)
And, no, substituting "loaded" for "success" in the onLoad event handler is not the culprit -- you can substitute anything you want there.
------------------
format.onLoad = function(loaded) {
if (loaded) {
output.styleSheet = format;
output.text = quick;
} else {
output.text = "Error loading CSS file!";
}
};
------------------
Could this be the culprit? *scratches head curiously*
rats, still a no go, problem still exists. hmmmm.....
#If you have any other info about this subject , Please add it free.# |