CSE no clue why 'identical' pages show different in IE8

Discussion about HTML and XHTML related issues.
Post Reply
bolandpc
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 2
Joined: Tue Aug 03, 2010 3:00 am

CSE no clue why 'identical' pages show different in IE8

Post by bolandpc » Tue Aug 03, 2010 3:24 am

I've been using CSE Lite for many years and it suits me well.
Today, I had this odd problem showing up in my website (http://www.boland-devries.nl), where I have (seemingly) the same HTML code for the Dutch and the English page (see below), but the picture of the worldmap appears full size on the Dutch and (as wanted) small in the English page.
This on IE8. On Firefox both are OK.
As CSELite did not give me a clue, I was just wondering if the Standard version would. But no, it did not, now I turn to this forum for help.

Christiaan

The English page (~gb.htm):
<!-- Photos -->

<td
align=center
class="witcell"
width="26%">
<font size=2>
All our travel pictures, but<br>mostly Asia Pacific and<br>China in particular
<br><br>
</font>
<a href="photos/photos.htm"
target="_top"
title="Photos of our travels">
<img src="photos/photopage.jpg"
width="100%"
alt="worldmap"
border="0">
<br>Photo series <font size=1>2000-2010</font></a>
<!-- <font size=1><br> <b><i>Engelse tekst !</i></b></font>-->
</td>

the Dutch page (~nl.htm):

<!-- Photos -->

<td
align=center
class="witcell"
width="26%">
<font size=2>
Al onze reis foto's, maar<br>voornamelijk Azie Pacific en <br>in het bijzonder China
<br><br>
</font>
<a href="photos/photos.htm"
target="_top"
title="Foto's van onze reizen">
<img src="photos/photopage.jpg"
width="100%"
alt="worldmap"
border="0">
<br>Foto series <font size=1>2000 - 2010</font></a>
<font size=1><br> <b><i>Engelse tekst !</i></b></font>
</td>

User avatar
MikeGale
Rank VI - Professional
Rank VI - Professional
Posts: 711
Joined: Mon Dec 13, 2004 1:50 pm
Location: Tannhauser Gate

Re: CSE no clue why 'identical' pages show different in IE8

Post by MikeGale » Tue Aug 03, 2010 10:49 pm

I ran the pages (framed and unframed Dutch) in both IE8 and Opera 10.60.

The pages all look the same on my system.

(NOTE: The "Nederlands" link gave a page which had a note at the top saying it should be inside a frame when I selected it in a new tab.)

It might be something on your system.

If not posting images to show what the issue is would help.

bolandpc
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 2
Joined: Tue Aug 03, 2010 3:00 am

Re: CSE no clue why 'identical' pages show different in IE8

Post by bolandpc » Wed Aug 04, 2010 2:58 am

I synchronized the pages:
Dutch: add align = right at line 177 moving the ">" accordingly.
English: mere cosmetics, delete and add "empty"lines to get the lines equal to those in the Dutch version.

The result: Now both pages are the same, but showing the map at its own size.
I restored one by one the changes I made in the English page and found:
I had removed the first line:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">.

I've Googled the meaning of this line, but that needs some more study to comprehend, but it apparently is a very important piece of information. When I added the same line in the Dutch version both were OK!! See the result at http://www.boland-devries.nl.

- Has CSE added this line at some stage?

- Why IE8 is so particular about this I don't understand. Safari, Opera, Firefox and Chrome have no issue with it.

Christiaan

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3442
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: CSE no clue why 'identical' pages show different in IE8

Post by Albert Wiersch » Wed Aug 04, 2010 9:03 am

bolandpc wrote: - Has CSE added this line at some stage?
No, CSE HTML Validator does not change your document unless you use a tool that does (the validator tool does not make any changes by itself). However, it may have recommended that you add a DOCTYPE and maybe you did based on the recommendation.
bolandpc wrote: - Why IE8 is so particular about this I don't understand. Safari, Opera, Firefox and Chrome have no issue with it.
This may be due to the way IE rendered in the past (in it's own "quirky" way) and desires to render in the future (more standards compliant). Because they are different, IE tries to determine what "mode" to render the page in, and having a DOCTYPE can affect what mode IE 8 chooses to render the page in. For more information, you could research "IE rendering mode" and "IE quirks mode".

I hope this helps!
Image
Albert Wiersch

Post Reply