enart.xn--gmq282eogn.com

welcome to my space

stylesheet stops working

  • good morning all,

    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! :-)


  • I really appreciate the suggestions. I've made the filename change, and kept "success" as the passed parameter. Cheers, and thanks again. Will reply back with any updates for inquisitive eyes. :-)


  • That would seem to indicate that something server-side is changing your stylesheet. Maybe that's a default filename (for the CSS file) that's used by something else. An easy way to determine if that is the cause is to use a different name for your stylesheet -- something more germane to your project name, and less likely to be used by some other files/process (be sure to change the name of the stylesheet file being loaded in your FLA, too).

    And, no, substituting "loaded" for "success" in the onLoad event handler is not the culprit -- you can substitute anything you want there.


  • I just noticed that I was passing "success" instead of "loaded" as the trigger parameter in my conditional statement that loads the stylesheet (see below):

    ------------------
    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*


  • unfortunately, I'm still having the reoccurring problem with the stylesheet "sometimes" loading properly for my flash/php guestbook. Any ideas? *begs & pleads* :-)


  • I really appreciate the suggestions. I've made the filename change, and kept "success" as the passed parameter. Cheers, and thanks again. Will reply back with any updates for inquisitive eyes. :-)

    rats, still a no go, problem still exists. hmmmm.....







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about stylesheet stops working , Please add it free.