Menu

css styles and incuded colors problem

Help
Anonymous
2001-10-02
2012-09-14
  • Anonymous

    Anonymous - 2001-10-02

    i have problem with included color files:
    in logon screen, in all chat frames and in admin functions color palette is black-and-white. BTW i not change any colors. help screen and setup screen have colors described in include files. where trouble?
    permissions on directorys all correct.
    url: http://www.manticore.hut.ru/chat/index.php3
    version: phpMyChat 0.14.5

    ps. sorry for my english :)

     
    • Sascha Tulodetzki

      it depends with wich browseer you lock at the page. Netscape and Opera don't understand all CSS-Codes. Best seen CSS is with the StarOffice Browser or with IE5 +.
      In order to change this problem you would have to code the bgcolor and all other Styles into the HTML Header or directly into every page.

       
    • Henning Schaefer

      This is not really a problem with understanding CSS, but rather a problem with mozilla's interpretation of <LINK REL=STYLESHEET>.
      It seems the browser does not understand any CSS files that have other extensions than .css
      I have generated a generic stylesheet from the dynamic one /config/style.css.php3, renamed it to style.css and changed /lib/common.lib.php3.pmcURLForStyleSheet() and see: it worked (of course, I lost the capability to dynamically generate the style). I have submitted this into bugzilla, hope they will fix it someday... :)

       
    • Henning Schaefer

      I have talked to those people at mozilla, and they say that the whole thing might be a problem with wrong headers sent for the style.css.php3 file. They say, they ignore the style.css.php3 file completely, if the header does not say "text/css" but "text/html". I will try to fix this, in order to get the .css.php3 extension working with mozilla, too.

       
    • Anonymous

      Anonymous - 2002-07-29

      I haven't got Mozilla, so I can't be sure if this idea will work, but I'm under the impression from reading hschaefer's post that putting

      <?php
      header("Content-type: text/css");
      ..

      at the top of *.css.php3 might fix this problem.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.