View Full Version : Please help, Explorer Problem
japanwindow
05-20-2006, 03:47 PM
I just found out my site is not displaying properly in CS Explorer. It looks fine in Firefox, but it's not centering in Explorer.
- This MAY have started when I upgraded to 1.5 RC1. But I don't know. Could the new index.php be part of the problem?
I will post the relevant part of my CSS (the divisions only) below.
My site is at:
JapanWindow.com (http://www.japanwindow.com/index.php)
Thanks for your help. I really appreciate it!
japanwindow
05-20-2006, 03:49 PM
Here is the related part of my CSS. I haven't changed this recently, so it's hard to believe the CSS is the problem. The only change I've made is upgrading to 1.5 RC1.
Here goes:
#wrapper {
margin-top: 0px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
width: 865px;
margin-top: 0px;
}
.top-wrapper {
padding-right: 6px;
padding-left: 20px;
}
.sub-wrapper {
padding-right: 6px;
padding-left: 18px;
}
#background {
background-image: url('images/motif-page.jpg');
width: 852px
}
#content {
width: 750px;
margin-top: 0px;
margin-bottom: 0px;
margin-left: auto;
margin-right: auto;
}
#navbar {
padding-top: 16px;
width: 750px;
font-size: 12px;
height: 17px;
}
#navbar a {
color: #434343;
height: auto;
}
#navbar a:hover {
background-color: #E8E8E8;
}
#footer {
clear:both;
background-image: url('images/footer.jpg');
height: 49px;
width: 865px;
font-size: 10px;
text-align: center
}
japanwindow
05-21-2006, 12:51 AM
A few days ago I realized that my templates all have charset UTF-8, but the actual encoding is ANSI. So I opened up each template in Notepad, did a "Save As" and used "UTF-8 Encoding."
I just changed them back, and now they work fine in Internet Explorer.
I don't know if this is a bug related to Internet Explorer, or if there could be some other reason related to the template. All along Firefox displayed the pages correctly.
I was messing with the pages because a couple people had reported trouble accessing the site. Anyway, it seems to be working now. If someone knows more about UTF-8 versus ANSI encoding, maybe you can say more about the roots of this problem.
Connie
05-21-2006, 08:55 AM
well, PP is becoming more and more UTF-8 compliant and so it is better to edit all the templates etc. in UTF-8 as well
the problem is the following:
you edit the template in an editor which saves in ANSI
the meta-tag in the header says: it is UTF-8
so a good browser follows the meta-tag-directive and interpretes the text
a not so good browser breaks his leg..
you should never never edit something which consists of letters (!) in an ANSI editor if you want to publish it at the net, edit in ASCII formatting editor!
most servers are UNIX and read TEXT, but ANSI is a proper WINDOWS format which contains some hidden formatting, hidden characters which differ from plain text
so you were lucky that you did not run into these problems before.
japanwindow
05-21-2006, 03:42 PM
Currently the site is working in both (new) browsers, but I suspect some older browsers are having trouble with it.
Currently the template says UTF-8, but it's saved with ANSI encoding. I'd like to change that...
I think I'll try to recreate the template pages using Dreamweaver, and try to create proper UTF-8 encoded pages that way.
Thanks for replying. :)
japanwindow
05-24-2006, 12:53 AM
Thanks Connie. I recreated the templates using Dreamweaver (just cut and pasted them into Dreamweaver and saved). Now they are properly encoded as UTF-8 files, and they are working in both Firefox and Explorer.
I always thought that Notepad was the purest way to edit documents with no hidden characters, etc. Now I know differently. I'll use Dreamweaver even for those quick edits from now I suppose.
Connie
05-24-2006, 06:44 AM
I am glad it is working now!
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.