What does an asterisk next to a CSS property mean?

Possible duplicate:
What does an asterisk in a CSS property name do?

I'm trying to figure out what an asterisk (*) means next to the "vertical-align: middle" property in this CSS file:

button, input, select, textarea { 
  font-family: sans-serif; 
  font-size: 100%; 
  margin: 0; 
  vertical-align: baseline; 
  *vertical-align: middle; 
}

Also, why is vertical-align repeated twice with an asterisk other than the first?

I know what this means next to the class name, but I have never seen it next to a property.

+5
source share
1 answer

This is CSS hacking. Only IE7 and below recognize it.

I would not recommend using it. Instead, use IE conditional comments to render a different class name for the BODY tag, depending on the version of IE you are using.

IE, , :

http://nicolasgallagher.com/better-conditional-classnames-for-hack-free-css/

+8

All Articles