Targeting IE only with CSS
I got a question from Jeff yesterday asking me about a CSS tag that he'd never seen before, and in fact, neither had I.
What he saw was this:
*html someclassname
{
properties in here
}
*html Anotherclassname
{
properties in here
}
I started to do some investigation and see what I could find out. I checked one of my favourite CSS Books (Web Standards Solutions: The Markup and Style Handbook), nothing, I tried to search on https://search.msn.com and https://www.google.com and nothing. (It is kind of hard to search for *html when you actually want * not the wildcard!)
I emailed Dan Cederholm (the author of the book above) and he graciously replied with the answer this morning. It's a way of targeting CSS to only Windows IE. IE believes that there is a wrapper element around the HTML block, and thus applies these rules to the block. Great if you need to fix a CSS rendering issue in Windows IE.
I've also posted some new Night photos at https://www.bigbackpack.ca/ngallery/albums/Night+and+Low+Light+(July+21%2c+2005).aspx