Menu

style.css in version 1.1 not being applied

Help
Jon
2000-12-28
2001-01-02
  • Jon

    Jon - 2000-12-28

    Install went find albums view just fine but the style sheet style.css is not getting applied.  no errors just default browser colors.  Works from this browser on your album rubiconx.  It's in the root of the phpix directory and it shows up as:  <link rel="stylesheet" href="style.css"> when I do a view source of the page.  Any ideas?

     
    • Jon

      Jon - 2000-12-28

      Fixed the problem.  Something was wrong with my style sheet.  I went to http://jigsaw.w3.org/css-validator/validator-upload.html and had it validate the style sheet and it found errors I used it's Validated version and it works like a champ. 

       
    • Jon

      Jon - 2000-12-30

      back again... The style sheet doesn't work for me.  Apache 1.3.14, php4.04, RHlinux6.2...It just plain friggin; igonores it.  worked a couple of times then died...(I know it can't do that but it did. :D )  It has to be a rights issue with the file but I've run out of ideas.  I've chmodded the damn thing to 755, 777 etc. changed the user to nobody (web server id), root, jpetrovs) and it will not accept the link rel tag or the style @import tag.  It does the on Netscape 4.x IE 5.0 and 5.5.  The only way I can get them to work is by embedding the entire style sheet in a <style> tag in both the real_index.php and the view.php.  kind of defeats the whole purpose of a style sheet though.  Any css gurus out there?  Thanks in advance. 

       
      • Anonymous

        Anonymous - 2001-01-02

        Without being able to see your page and style sheet, there's not a lot I can offer in the way of advice.  Did you try moving your style sheet out and putting in the default one?  In hacking I discovered that Netscape is very finicky about bad style sheets--if it finds an error, the entire thing is ignored (which, if you ask me, is the right thing to do.  Makes you fix your errors).

        If you can post (or email me) a URL, I might be able to help a bit more.

        (We really need a users list in email :-)

         
        • Jon

          Jon - 2001-01-02

          Found out the problem last night.  I had an older mod_gzip module in my apache config that didn't play nice with styele sheets... Updated the mod_gzip mod to the most recent form and the style sheets work great.  you can check out phpix 2.0pre1 in action at http://blaze.unclescrotor.com

           

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.