This is

as days pass by, by Stuart Langridge

. Here I write about many things. In the past I wrote about other things but the past is past. I write code for people to play with, I write about my life on Twitter, and I write here.

On I wrote Possible new CSS hack, on the subject of Uncategorized.

This is possibly a new CSS hack, and possibly an old CSS hack, and possibly me just being dim. I haven't got time to test it, you see.

It seems that if you prefix a CSS declaration with a hash, IE6/Win2K ignores the hash, and Phoenix0.5/Win2K ignores the declaration. Something like:


#myheader {
    position: absolute;
    top: 0; left; 0; right: 0;
    #width: 50px;
}

IE6/Win2K will obey the width declaration, and Phoenix 0.5/Win2K will not. I'll test more stuff when I get a chance.

kevin c smith

FWIW, the CSS spec mandates that declarations containing unknown/invalid property names be ignored, so IE is the broken browser here:http://www.w3.org/TR/REC-CSS2/syndata.html#parsing-errors

This website belongs to Stuart Langridge. Contact details are available. Don't eat yellow snow. Valid HTML5, at least in theory, except for the bits that aren't because I'm that futuristic that I'm ahead of the spec, oh yes. HTML5 help from Bruce Lawson, among others. Fonts from the superb FontSquirrel. End.