Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Unhappy Chinese and CSS incompatibility in Firefox?

    Hi all,

    I've been trying to fix this for ages and would be very grateful for help with it.

    A website I built uses CSS styles to set the fonts for all the pages. Using Explorer, the pages all appear as they should. However, when viewed with Firefox, the pages that contain Chinese text do not display the styles properly--the text just comes out in plain black Times New Roman. The pages that don't contain any Chinese characters still come out as they should.

    Is there some incompatibility here? Or have I defined my styles incorrectly?

    The website I'm working on is:

    http://www.bsot-bluesbash.info

    & the stylesheet's here:

    http://www.bsot-bluesbash.info/bluesbashstyles.css

    I'd really appreciate any help you'd be able to offer with this problem, thanks. All the best,

    Scott

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,862
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Fix the errors in your markup first, see http://validator.w3.org/check?uri=ht...Inline&group=0

    First of all you need a valid DOCTYPE at the top of your page.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    grooverevival (10-28-2008)

  • #3
    x54
    x54 is offline
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Not much help

    I'm not going to help much but I get similar Chinese language issues. I use my Chinese girlfriend's laptop and I get similar issues with my sites. The main problem I get is that on other people's computers it will ask them to download a Chinese language component in order to view the site. The site is in English so I don't want this. Anyone got any ideas on this?

    I also get the problem that you discussed.

    Cheers

    x54

  • #4
    Regular Coder Samhain13's Avatar
    Join Date
    Aug 2008
    Location
    Pilipinas
    Posts
    169
    Thanks
    4
    Thanked 18 Times in 18 Posts

    Seems To Be Working Fine Here

    The page seems to be working fine here (see screenshot below).
    I used Firefox 3 in Ubuntu. The disappearance of the Chinese characters might be an indication that some browsers in Windows aren't using the internationalisation features of the OS? But that's just my guess.
    Attached Thumbnails Attached Thumbnails Chinese and CSS incompatibility in Firefox?-screenshot1.jpg  
    I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
    ** Independent Multimedia Artist in Pasig **

  • #5
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts
    abduraooft, thanks for pointing out those errors... I'll see about correcting them.

    Thanks others for answering, but I think I've miscommunicated the problem. Samhain13, it's not working on the screenshot you posted. The Chinese characters are appearing, yes, but that isn't the problem.

    My problem is that the CSS styles don't apply to the pages that contain Chinese text. As you can see on the screenshot, the text is all in regular black Times New Roman, not purple verdana like it appears in Explorer. The pages without Chinese appear in purple in both Explorer and Firefox, but the pages containing Chinese text only appear in purple in Explorer. I'm wondering why the styles don't apply to the pages in Firefox when they happen to contain Chinese text. I hope that's clearer.

    Any help or pointers with this would be much appreciated, thanks. Cheers, best,

    Scott

  • #6
    The Apostate Apostropartheid's Avatar
    Join Date
    Oct 2007
    Posts
    3,215
    Thanks
    16
    Thanked 265 Times in 263 Posts
    If I trigger standards mode (by adding <!doctype html>, Firefox renders correctly.
    (And, to be honest, you should take this as a hint.)

  • Users who have thanked Apostropartheid for this post:

    grooverevival (10-28-2008)

  • #7
    Regular Coder Doctor_Varney's Avatar
    Join Date
    Mar 2008
    Location
    Midlands, UK
    Posts
    649
    Thanks
    45
    Thanked 29 Times in 28 Posts
    Shouldn't that be: "The Blues Society of Taiwan"?
    Definition: Computer rage is a heightened physiological response with associated feelings of anger and frustration[1] resulting from using a computer or other complex electronic device. It may result in the physical assault of the computer or similar item.[2] Computer use often leads to verbal abuse and occasionally physical violence towards the object.[3] Computer rage may be caused by distress due to a hardware or software problem which the enraged person is unable to correct.

  • #8
    Regular Coder Samhain13's Avatar
    Join Date
    Aug 2008
    Location
    Pilipinas
    Posts
    169
    Thanks
    4
    Thanked 18 Times in 18 Posts
    Quote Originally Posted by grooverevival View Post
    Thanks others for answering, but I think I've miscommunicated the problem. Samhain13, it's not working on the screenshot you posted. The Chinese characters are appearing, yes, but that isn't the problem.
    Ah! I've misunderstood you then.
    Anyway. Yeah, why not try the DocType suggestion that others have posted?
    I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
    ** Independent Multimedia Artist in Pasig **

  • #9
    Master Coder
    Join Date
    Dec 2007
    Posts
    6,682
    Thanks
    436
    Thanked 890 Times in 879 Posts
    Quote Originally Posted by Samhain13 View Post
    Ah! I've misunderstood you then.
    Anyway. Yeah, why not try the DocType suggestion that others have posted?
    validate css:
    http://jigsaw.w3.org/css-validator/v...20frameset.htm

    but only after html is valid, because now is still invalid:
    http://validator.w3.org/check?verbos...20frameset.htm

    regards

  • Users who have thanked oesxyl for this post:

    grooverevival (11-04-2008)

  • #10
    New to the CF scene
    Join Date
    Oct 2008
    Posts
    3
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Thanks so much for the help, all of you. I must admit I was a little embarrassed to look up doctype & see that it's the first element in any standards-compliant webpage... whoops! That's what I get for the trial-and-error approach to learning web design.

    Anyway, I've fixed that issue in the frameset and currentfestival pages, but it still isn't working. I'll continue fixing the other things that were raising flags in the html validator (which is a very useful tool that I had no idea existed, by the way), and hopefully it will sort itself out eventually. I'll definitely let you know. It just may take a few days because I've got a lot of other things on my plate right now.

    Again, thanks very much for helping out a total noob. Cheers, best,

    Scott

    oh, & PS, it's "on Taiwan" because it's an island... I'm sure DC (the prez) has a more eloquent explanation for the name, but that's the name.


  •  

    Tags for this Thread

    Posting Permissions

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