473,791 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Determining whether IE6 renders in Quirks or Standard mode???

Hi there,
I have this web site (www.DrTube.com) which has the following DTD:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
which switches Mozilla to standards compliance mode as I can confirm
myself. How can I check whether IE6 and Opera do so too?
TIA
Regards
Xavier van Unen.
Jul 20 '05
35 5188
On Sat, 5 Jun 2004, JotM wrote:
Steve Pugh wrote:

...
It is a XHTML 1.1 document validating just OK with W3C by the way.
Except that you've served it as text/html ...


Yup.


Then it seems you could be violating the W3C trademark by describing
it as XHTML/1.1. XHTML is a W3C trademark and they get to set the
rules: the concession to send XHTML out as text/html ceases after
XHTML/1.0 appendix C.
But with a free dial-up account I can't really control the server
of my provider.
I'll reserve judgment on that. Many of the folks I've advised before
in that situation had never actually tried creating a .htaccess file,
and were surprised (in some cases their service provider was also
surprised, which says something about service providers) to find that
it worked.
I tried it with a meta header stating it should be <meta
http-equiv="content-type" content="applic ation/xml+xhtml; charset=utf-8"
/>.
If you can say that with a straight face, then you don't understand
XHTML. The use of "meta" for anything like such a purpose is
something that ended with the transition from HTML to XHTML; it's
limited to influencing the "charset" (in cases where the server fails
to provide one - which has been rated as a potentially dangerous
practice ever since CERT CA-2000-02) - it's far too late at that point
to renegotiate the MIME type of the entity - and it appears in
XHTML/1.0 Appendix C solely for the purpose of compatibility with HTML
client agents: as far as XHTML is concerned it's just noise.
But as said, I can't control the type put into the http header
served.


Then you're not ready to use XHTML/1.1. And, frankly, many of those
who understand what XHTML/1.1 is seem to have little use for it
anyway.

best advice I can offer, I'm afraid.
Jul 20 '05 #31
Andreas Prilop wrote:
On 3 Jun 2004, Wolfgang Wildeblood wrote:


Even the latest MS Windows versions (XP, 2003) with _default_ setup
for Internet Explorer fail to display the special Urdu letters in
<http://www.unics.uni-hannover.de/nhtcapri/arabic.html6>
<http://www.unics.uni-hannover.de/nhtcapri/arabic.win>
although support for Urdu was introduced with Windows 2000.

Internet Explorer requires special markup to display extended
Arabic characters:
<http://www.unics.uni-hannover.de/nhtcapri/pashto-alphabet.html>
<http://www.unics.uni-hannover.de/nhtcapri/sindhi-alphabet.html>
<http://www.unics.uni-hannover.de/nhtcapri/urdu-alphabet.html>
Without this markup, IE6 is clueless.

Likewise, IE6 in this default setup fails to display *most* symbols
from <http://ppewww.ph.gla.a c.uk/~flavell/unicode/unidata21.html>

Mozilla/Netscape on the other hand works fine!

I can attest to that. I just pointed Moz 1.6 at:

http://ppewww.ph.gla.ac.uk/~flavell/...unidata21.html

and the page rendered perfectly. I don't have any special add ons or
plug ins. That's straight out of the box. Just for fun, I then
pointed Opera 7.23 (again, plain vanilla) at the same site - perfect.

It's true, at the moment M$ enjoys wide acceptance. But I would sell
my shares short, if I had any ;->

H
Jul 20 '05 #32
Alan J. Flavell wrote:
On Sat, 5 Jun 2004, JotM wrote:

....
But with a free dial-up account I can't really control the server
of my provider.

I'll reserve judgment on that. Many of the folks I've advised before
in that situation had never actually tried creating a .htaccess file,
and were surprised (in some cases their service provider was also
surprised, which says something about service providers) to find that
it worked.


Well Alan,
I tried placing a .htaccess file in "my" root as well as in "my" www
folder, but:
First I made a file named "htaccess" containing a line saying "AddType
application/xml+xhtml .xhtml";
FTP'ed it to the locations mentioned;
tried to rename it to ".htaccess" and got an error-message stating
"550 Prohibited file name: .htaccess".

I am a mechanical guy, you know, nuts and bolts. I am lost here.

As for trying to create XHTML1.1:
The last time I looked into HTML (into the code I mean; I have produced
IE readable pages at work right from MS Word, please don't flame me for
that) I used notepad to create pages that I browsed with mozaic. So you
could say I missed some years. As I considdered it could be fun to code
some pages again, I bought a Visual Quickstart Guide on HTML and started
of. There's nothing in there about the type served for XHTML. (there is
a similar example to what I tried and described above for preparing a
server to serve wml, but as said, I get stuck on that path)
Learning as I am doing. And perhaps, it would be wiser to switch to
HTML4. If that's what I pick up doing and reading, I will.

Regards,

Jaap

Jul 20 '05 #33
JotM wrote:
Learning as I am doing.


Here's another funny little thing:
I just found out that if I rename my page to
"http://meeuw.zeepost.n l/ie_quirks.xhtml " it is served as
application/xhtml+xml . No ".htaccess" file needed there.
Except for the thing IE6 as I have it installed doesn't recognize the
filetype and isn't able to properly show the page in the first place.

Cheers,

Jaap

Jul 20 '05 #34
On Sat, 5 Jun 2004, Helen C wrote:
http://ppewww.ph.gla.ac.uk/~flavell/...unidata21.html

and the page rendered perfectly. I don't have any special add ons or
plug ins. That's straight out of the box. Just for fun, I then
pointed Opera 7.23 (again, plain vanilla) at the same site - perfect.


Opera 7.50 on Solaris 9 shows *not a single* of those characters.
Opera on Mac OS and Solaris has always been a complete failure
in internationaliz ation.

--
Top-posting.
What's the most irritating thing on Usenet?

Jul 20 '05 #35
On Mon, 7 Jun 2004, Andreas Prilop wrote:
On Sat, 5 Jun 2004, Helen C wrote:
http://ppewww.ph.gla.ac.uk/~flavell/...unidata21.html


Opera 7.50 on Solaris 9 shows *not a single* of those characters.
Opera on Mac OS and Solaris has always been a complete failure
in internationaliz ation.


On the other hand, I tried it on Redhat 9 with its Mozilla version of
1.4.2, and there wasn't a single character on that page that it didn't
render.

Opera 7.01 on Win/2000 didn't manage to do quite so well, but it
still managed a fair selection.

What can I say? There are some who still have an interworking
specification to meet. What was the date on RFC2070? Its promoter
got something off the ground that worked with Windows/3.1 - I saw it
working for myself. That must have been something like a decade back.
Jul 20 '05 #36

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
12994
by: Axel Dahmen | last post by:
Hi, there's one question that's been bothering me for a long time: Why does the TD element not inherit from the BODY element? Is there any reason why properties like "font-family" or "font-size" are not applied to content of TD if I assign them to the BODY element? Thanks a lot for enlightening me! Axel Dahmen
12
9411
by: skeeterbug | last post by:
http://www.geocities.com/operationsengineer1/test2.htm the extra space between the logoHeader and the menu bar occurs when i add the <ul>. if i comment out the ul and and all the li, the 1em space disappears in firefox. http://www.geocities.com/operationsengineer1/test3.htm it never shows in ie6. if i increase the margin of hmenu to 1 em, there is no effect on the top and bottom, but the right and left are
6
2777
by: Thomas | last post by:
In Mozilla: The problem we are trying to solve: We are using XSL/XML to generate tables with text in the rows. The spacing is wider then when those same exact tables are created in regular HTML. We figured out that this has to do with Mozilla rendering the HTML page in quirks mode, versus the XML/XSL page being rendered in strict mode. I can find no way to enable quirks mode in Mozilla for XML/XSL documents, since it does not appear...
4
15073
by: Claire | last post by:
How do I determine whether Im running in debug or release mode from code please. thanks Claire
14
2763
by: googler | last post by:
Is there any C library function that returns the size of a given file? Otherwise, is there a way in which file size can be determined in a C program? I need to get this for both Linux and Windows platforms, so a generic solution is what I am looking for. Thanks for your help.
3
4887
by: Steve Sobol | last post by:
I need to use JavaScript and the DOM to determine the available amount of browser space - the total size of the browser window minus whatever space is used by chrome. window.innerHeight and window.innerWidth seem to work fine in Opera 8 and Firefox 1.5. In IE, I've read that you need to use document.body.clientHeight and .clientWidth but that seems to only give you the dimensions of the box created by your <body> tag. Whatever...
1
5028
by: jason.m.ho | last post by:
Has anyone run into the problem of firefox 'border-collapse: collapse' rendering a table 1-pixel too far to the left? In IE and Opera it will render fine...Does anyone know if this is a bug? This property only holds true in standards compliance mode (quirks mode firefox renders it fine). For example, if you had the following code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
18
2328
by: Neil Cherry | last post by:
I'm in the process of redesigning my web page and started working more with CSS. I have, what I think is, a nice web layout (I'm no expert so I could be wrong). When I tested it with Konqueror and Firefox it works well (a few minor problems) but when I test it with IE 6.0 it doesn't display or it jumbles everything up. I've tried using various examples (conditionals) to get around IE problems but they are causing more problems that they...
22
13563
by: Harry Haller | last post by:
Is there any other way apart from: document.compatMode == 'CSS1Compat' <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title>Virtual Library</title> <script type="text/javascript">
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10154
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9993
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5430
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5558
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4109
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3713
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.