SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Zealot choazart's Avatar
    Join Date
    Feb 2002
    Location
    So. California
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS & Netscape 7.0

    Hello all,

    Here I am yet again with another problem...

    I am developing the following site for a photographer here in So Cal.

    http://www.ericfigge.com/dev/index.html

    I made the index page and tested it in MSIE and NS7.

    Of course, it looks like it should in IE. In NS7 it looks like my CSS is not working on my text. I'm not sure why.

    Anybody have any guesses?

  2. #2
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice site

    Your CSS documents are being served up with the incorrect mime-type - they are coming up as "application/x-pointplus" when they should be "text/css". Netscape 7 and Mozilla, when in stanards mode (as caused by your doctype) refuse to render CSS that is served with the incorrect mime type.

    The mime type problem is almost certainly caused by a misconfigured web server. If it's running Apache you may be able to fix it using a .htaccess file (I've never tried changing mime types in that way though), otherwise you'll need to get your host to fix it.

    More info here: http://devedge.netscape.com/viewsour...ct-mime-types/

  3. #3
    SitePoint Zealot choazart's Avatar
    Join Date
    Feb 2002
    Location
    So. California
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Bummer!

    Thanks for the info!

    Unfortunately, my host (XO Communications) said they will not update the web server to the correct MIME type.

    He didn't get specific as to why just, "we don't do that."

    If I change my Doctype from XHTML Transitional to just HTML 4.01 that should fix it, right?

    How come it always seems there is SOME KIND OF PROBLEM with Netscape?

    It's getting so old.

    Peace,

    Mike

  4. #4
    SitePoint Wizard DougBTX's Avatar
    Join Date
    Nov 2001
    Location
    Bath, UK
    Posts
    2,498
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you want to try setting an htaccess file, take a look at this:

    http://www.promotionbase.com/article/485/47

    You could probably use this:

    Code:
    <Files *.css> 
      ForceType text/css
    </Files>
    I'm not sure if you can use "*.css", but you could allways use the full name of your style sheet.

    OT: Chech the title of your page, its "Untitled Document". I'm guessing you'd notice this, but regardless..

    hth,
    Douglas
    Hello World

  5. #5
    SitePoint Zealot choazart's Avatar
    Join Date
    Feb 2002
    Location
    So. California
    Posts
    105
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Update...

    Yeah I noticed there is no title. It's still in development mode.

    I changed the doctype to HTML 4.01 transitional and that seemed to do the trick.

    Upon doing so I noticed something else...

    The <li> class is not working in NS.

    In IE the <li> pulls the image I have set to be my bullets.

    I have tried a few things to no avail.

    Is there any way to get this to work in NS?

    Again, thank you all for the feedback so far!

    Mike

  6. #6
    SitePoint Columnist Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Bummer!

    Originally posted by choazart
    Unfortunately, my host (XO Communications) said they will not update the web server to the correct MIME type.

    He didn't get specific as to why just, "we don't do that."
    That's a pretty terrible attitude for a hosting company to take - they have a serious bug with their hosting package and they have no intention of fixing it. It probably isn't worth moving to another host (if you're happy using transitional instead) but it's a big black mark against them in my book.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •