Possible new CSS hack

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.

I'm currently available for hire, to help you plan, architect, and build new systems, and for technical writing and articles. You can take a look at some projects I've worked on and some of my writing. If you'd like to talk about your upcoming project, do get in touch.

More in the discussion (powered by webmentions)

  • (no mentions, yet.)