CSS working in IE but not Firefox

Discussion in 'CSS' started by bryanfilm, Sep 18, 2009.

  1. #1
    I am having some CSS problems with this website:

    http://www.davidosmond.com/

    the CSS is displaying correctly in IE but nothing is displaying correctly in firefox, such as background colors, formatting, and text attributes. I have gone through my CSS file and can't seem to find any errors. I frequently use firefox for testing and it was previously displaying correctly. I am sure that I have overlooked something simple.

    I would appreciate any help.

    Thanks in advance
     
    bryanfilm, Sep 18, 2009 IP
  2. markupdude

    markupdude Peon

    Messages:
    215
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    [​IMG]

    Just a tiny error, but great work on the flash man, love the rss icon going up, cards spreading :)
     
    markupdude, Sep 18, 2009 IP
  3. bryanfilm

    bryanfilm Peon

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks markupdude. I removed the html tag but it still is not displaying correctly. Any other ideas?
     
    bryanfilm, Sep 21, 2009 IP
  4. markupdude

    markupdude Peon

    Messages:
    215
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Wow still not fixed. Then i am a bit clueless from the browser rendered code, its something that keeps standards based browsers not accepting the css file.

    If you can trust me enough i would like to see the actual code files to check what goes there before browser renders them [you might not have to pay me though as its obviously something very small we are missing here & naturally triggers my curiosity to solve] . Add me to gtalk : markupdude
     
    markupdude, Sep 21, 2009 IP
  5. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #5
    Your stylesheet is served with the wrong response headers.
    
    Response Headers - http://www.davidosmond.com/CssFiles/do.css
    
    Date: Tue, 22 Sep 2009 19:51:21 GMT
    Server: Apache/2.2.3 (Red Hat)
    Last-Modified: Mon, 21 Sep 2009 17:56:34 GMT
    Etag: "4e4ab-b87-4741a33ceb880"
    Accept-Ranges: bytes
    Content-Length: 2951
    Content-Type: [color=red]text/plain[/color]; charset=UTF-8
    
    200 OK
    Code (markup):
    The red text should be "text/css".

    Also, Firefox is seeing the file as do.asc. Be sure you're saving it as plain text and not as a script.

    cheers,

    gary
     
    kk5st, Sep 22, 2009 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #6
    Wow, look at the big blank page of nothing - Oh, I see, flashtard site. Here's a tip, if you are going to bloat the page out to some 2 megabytes with flash, include fallbacks for those of us who basically want to tell you where to shove it in that department.

    Now for the broken record - with 67 validation errors you do not have HTML, you have gibberish, as gary pointed out you have issues with your server sending the wrong mime-type - AND the wrong encoding since the server is sending UTF-8 while your META says ISO-8859-1...

    and it's a train wreck of how not to build a website. Again, flash with no fallbacks, flash larger than lowest common denominator resolution, Image maps, images for text with no fallbacks, nonsensical heading orders, redundant classes, presentational classnames....

    I really pity the people who end up with rubbish like this for their sites. My advice, chuck it and start over with clean minimalist semantic MODERN markup and take a giant **** axe to the flash bullshit.
     
    deathshadow, Sep 28, 2009 IP