Jump to content

html pre ISO-2022-JP only works in IE


sqlnoob

Recommended Posts

hi

 

http://www.shugo.nl/shugo7/manual/kanji.php

 

I am trying to make the stylesheet work in all browsers. So far I notice that this page with a pre tag for the japanese kanji only works in Internet Explorer. I'm trying to make it work in Firefox and Chrome too.

 

I tried html 4 transitional and html 5, neither of which works. The only thing Firefox and Chrome loads is the pre tag, but not the stylesheet.

Link to comment
Share on other sites

Change the encoding to utf-8.

 

EDIT: If you don't want to change the encoding (I like UTF8), try to set a html base tag inside the head tag.

 

 (not tested):

<base href="http://www.shugo.nl">
<link rel="stylesheet" type="text/css" href="../look/guidestyle.css">
Edited by jazzman1
Link to comment
Share on other sites

OK tried it with an internal stylesheet and that works allright. Apparently if you use an external stylesheet with a Japanese character set, that isn't supported in firefox and chrome. I don't know why that is so. Perhaps because the stylesheet is not iso, that causes problems for firefox and chrome but not for internet explorer.

 

Would love to hear a suggestion where it works with an external stylesheet.

Edited by sqlnoob
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.