Kimler Sidebar Menu

Kimler Adventure Pages: Journal Entries

random top 40
Filed in:The Web

About Quirks-Mode

March 12th, 2007  · stk

I recently had to fight with CSS for a web page served in Quirks-Mode. What is quirks? Why is it bad? How do you tell if a page is in quirks-mode? All this (plus a couple of extra cents, tools & links)


Using PZ3 in Quirks-Mode

A reader wanted to use PZ3 for a page that was authored in "quirks-mode". In an effort to help, I found a way to make it work in IE6.

browser quirks mode

Now that IE7 is out, I wish I hadn't. Let me just say that it's awful thing to do (author pages in "quirks-mode") and I recommend against it. You will thank me, your children with thank me and your descendants will visit my grave and thank me!

However, even though it goes against my own advice, I have found a way to render a very-close approximation to PZ3 for BOTH IE6 and IE7, in quirks mode. If you absolutely must deploy PZ3 on a quirks-mode page, you will want to see the work-a-round (and maybe even the quirky problem).

PZ3 aside, I thought this a good time to weigh in on quirks-mode.

  • What is "quirks-mode"?
  • Why is quirks-mode bad?
  • Why do people need quirks-mode at all?
  • How do you tell if a page is in quirks-mode?
  • How does an author pick the mode (standards -vs- quirks)?

For all this (and a tad more) ... carry on.


Read full story...

Views: 40630 views
5 Comments · GuestBook
default pin-it button
Updated: 24-Oct-2008
Web View Count: 40630 viewsLast Web Update: 24-Oct-2008
Filed in:The Web
Site News

Writing an SPF Record

February 7th, 2007  · stk

Spammers are forging sender email addresses to make it look like their SPAM comes from our domain! ACK!! SPF to the rescue! Learn what it is, how it works & how to write your own SPF record.

spf logo

A Case for SPF Records

Nearly a month ago, we reported that our Randsco domain had been hijacked by spammers. They were sending their SPAM email, around the world, using bogus sender addresses from To anyone receiving the SPAM, it would look like it was coming "From:"! 88|

The cure for this was to add a Sender Policy Framework (SPF) record to our DNS. For mail servers that check, the SPF record tells them if the email is really from or not. Spammers will quickly learn that their "From: Whoever<at>" emails won't get through and quit trying to forge the domain.

Every domain owner should publish an SPF record.

If you own a domain, you should publish an SPF record. Even if you never send email from that domain, spammers can hijack it, which may result in your site being blacklisted and it also erodes people's confidence in the email medium.

Publishing an SPF record is easy. Knowing what the SPF record should contain can be confusing, depending on your email situation. Here is what I learned in publishing ours. Hopefully, it will be of value to you.

To learn about how SPF works and how to publish your own, read on ...

Read full story...

Views: 124522 views
21 Comments · GuestBook
default pin-it button
Updated: 3-Jun-2008
Web View Count: 124522 viewsLast Web Update: 3-Jun-2008
Filed in:XHTML
The Web

Die Tables Die

February 2nd, 2007  · stk

Don't web designers now know NOT TO USE TABLES FOR PAGE LAYOUT? I thought so, but an email, received from the President of a web media company, says otherwise

Tables for tabular data ONLY ... NOT for LAYOUT!!

tableless designs

Last night, I had an interesting e-mail exchange, in which someone was using an datalist to display three PZ3 images in a row. They were having problems with IE. (No surprise there). :p

First, I know very little about, but I asked the fellow for a copy of the page (X)HTML and CSS and said I'd look into the problem.

It was a basic page, nothing too odd (though I did notice a bunch of bloat). I quickly found the problem: the fellow was using a table to contain the single row of three PZ3 images, each in their own cell (browsers often fail to correctly interpret CSS directives inside table cells).

I haven't used tables for layout in years and assumed that (by now) the message to do so, would've gotten out. Obviously not.

I wrote back and said, "Using a table to hold the three images is semantically incorrect (because no tabular data are being displayed) and the root of your problem. To fix it, just take the three images out of the table." I even provided some XHTML-valid code that would accomplish what he wanted (semantically correct and more succinct).

The response I got back, floored me.

I am displaying data from a [sic] XML file that display files. Those images are in each cell, so yes I am displaying tabular data. (emphasis mine)


Maybe what he's trying to say is that "he can't get rid of the table", but if so, it's because of a limitation in the language he's using and not because it's semantically incorrect to do so. At the end of the day, it doesn't matter how stores/retrieves/interprets the image data, what does matter is:

Displaying three images in a row, is NOT a display of "tabular data".

To top it off, this fellow isn't just anyone, he's the President of a web media company. He should KNOW BETTER!

The exchange bothered me enough that I thought I'd write my own version of "What I think should be tacitly understood anyone writing HTML code".

To find out why tables are bad (should be used for displaying tabular data, NOT FOR LAYOUT) and what is "tabular data" anyway? .... read on.


Read full story...

Views: 29976 views
18 Comments · GuestBook
default pin-it button
Updated: 25-Nov-2008
Web View Count: 29976 viewsLast Web Update: 25-Nov-2008
Filed in:The Web
Site News

Randsco Hijacked

January 11th, 2007  · stk

Would you like spammers using your domain for their activities? If it happened to, it can happen to you. Find out more ...

Been spammed by a email address?

We apologize. A few days ago, spammers began using bogus email addresses in the "From:" field of their spammy messages. We discovered it's easy for spammers to fake (or spoof) email addresses and that we're relatively powerless to stop it.

spam does not condone SPAM. Quite the contrary. We make every effort to eliminate it - see here, here, here or here - for proof. We hate SPAM!

Unfortunately, there's very little one can actually do to stop spammers from making it look like their SPAM is coming from your domain. They just use a bogus email address, from your domain, in the "From:" portion of their spammy emails. It turns out, we're not completely defenseless, but the best apparent remedy requires the cooperation of every mail server, across the Internet.

How did I find out that spammers were spoofing email addresses? Are spammers giving your domain a spammy reputation? What can you do to help stop these spammy attacks?

To find out ... read on ...

Read full story...

Views: 11462 views
3 Comments · GuestBook
default pin-it button
Updated: 8-Feb-2007
Web View Count: 11462 viewsLast Web Update: 8-Feb-2007
Filed in:CSS
Web Dev·The Web

PZ3 & Opera v9.02

November 15th, 2006  · stk

Photo-caption Zoom v3 can fail in the latest Opera version (v9.02). It appears to be a problem with the Opera upgrade process. Learn mody ...

A Flip'n, Zooming Upgrade Problem

I've recently tweaked the Photo-Caption Zoom v3 code, to provide support for IE7 and quirks-mode. (I'm still testing it, so the only place you can see it, for now, is in this Randsco new article.)

In fact, I wanted to test if further, by using it on our own website.

I uploaded the CSS and began modifying some XHTML, when I thought, "I'd better check, before I convert too much, that it works in all the browsers."

Low and behold, it didn't "Zoom" properly in Opera v9.02.

"That's odd," I thought, "I'm sure I tested it in Opera when I made the modifications."

Turns out, I did.

If you're experiencing problems with Photo-Caption Zoom v3 in Opera v9.02, read on ...

Read full story...

Views: 8658 views
4 Comments · GuestBook
default pin-it button
Updated: 6-Aug-2008
Web View Count: 8658 viewsLast Web Update: 6-Aug-2008