QuirksMode

Table of contents

Sitemap

Frequently Asked Questions

W3C DOM Compatibility Tables

Freelance

Donate

QuirksMode.org is the personal and professional site of Peter-Paul Koch, freelance web developer in Amsterdam, the Netherlands. It contains more than 150 pages with CSS and JavaScript tips and tricks, and is one of the best sources on the WWW for studying and defeating browser incompatibilities.
It is free of charge and ads, and largely free of copyrights.

Join my announcement list to get mail notifications when this site is updated. Send an empty mail to ppk-ann-subscribe@yahoogroups.com and you'll be subscribed.

News

13 June 2004

Form error messages

More form fun. I added the Form error messages script to show form validation error messages right next to the form field they apply to. This is clearly a much more user-friendly way of showing error messages than the alerts everybody seems to use.

10 June 2004

Web Forms 2.0

In his Web Forms 2.0 specification, Ian Hickson extends the HTML 4.01 Forms specification to allow Web authors to easily add validation requirements to form fields.

Hickson's specification bridges the gap between current practice in form validation and W3C's XForms specification that, though interesting in theory, has no connection at all to everyday reality. When, months ago, I saw an earlier version of Web Forms, I decided that this is the workable, useful specification I've been looking for to help me make the forms I create for my clients more user-friendly, especially in input validation.

Nonetheless, I feel that the current draft isn't yet quite usable in today's scripting environment, which is why I wrote a page with notes and comments. I hope they will contribute towards making Web Forms a better specification that allows us to solve numerous form-related problems with today's technology.

29 May 2004 - later

Mozilla 1.6, Safari 1.2 and Opera 7.50 - Event Compatibility

Updated the Event Compatibility table for the new releases. Opera and Safari have mended quite a few small bugs.

29 May 2004

New Links page

Busy day today. I merged all link pages into one new Links page and added my personal blogroll.

28 May 2004

Mozilla 1.6, Safari 1.2 and Opera 7.50 - Viewport Experiments

Retested the Viewport experiments in the latest releases. Safari has deteriorated markedly: it behaves incorrectly in the "DOM tree" experiment and crashes on the "Removing elements" experiment.

Mozilla has deteriorated in the area of html{overflow}.

Link colour update

Arranged the colours for the links in a p.intro, too. Also found the cure to the Explorer Windows bug:

:visited first, :hover second!

Let's try to remember this one. I seem to have heard this rule before, but evidently I also forgot it afterwards.

Any ideas for a meaning of VH?

Reactions to Minor Mozilla oddity

I received a few reactions to the Minor Mozilla oddity of two days ago. The reactions all say the same: Mozilla did this on purpose to avoid .test:hover to apply to anything else than a link. I find this whole line of "reasoning" dangerous nonsense.

First of all, if I use the .test:hover selectors, all browsers should assume that I know what I'm doing. Maybe I have excellent reasons for using exactly this selector.

Browsers should never try to second-guess me to "protect" me from myself. Sod off! I can think for myself, thank you very much.
This behaviour remains a bug (and I heard it's removed from the 1.8 beta currently being tested, so even the Project agrees with me).

Secondly, I get sick and tired of Mozilla apologists who try to explain away any Mozilla bug that happens to come to my attention, while heaping scorn upon Explorer for similar bugs.

I know that to some people Mozilla is a life-style, not a browser, but that inevitably means that they cannot objectively judge anything having to do with their darling favourite.
Fine by me, but please don't bother me with this kind of silly theorizing that makes no sense to anyone not addicted to daily shots of Mozilla orthodoxy.

Thanks for listening, I feel much better now.

Older

See the history of this site.

Table of contents

This site is quite large. The table of contents mostly leads to other tables of contents.

This is the larger part of my former JavaScript Section. It contains more than 60 JavaScript pages that explain useful scripts or other functionality.
This section contains all my W3C DOM scripts and the great compatibility tables.
This section contains all my CSS test pages. They mostly treat CSS2, but I snuck some 1 and 3 in. It is not a complete overview of CSS, and I'm not planning to make it one either.
The first thing you see is a compatibility table.
This section will eventually contain my research into the viewport and its relations to the HTML/CSS and the JavaScript document. For now it only contains a few tests and the inevitable compatibility table.
Ubiquitous browsers, extremely obscure browsers, and everything in between.
A few pages about this site and myself.
I'm a freelance web developer. You can hire me.
Everything else. Random miscellany.