/ Published in: CSS
Set different values for an element based on browser (specifically, how the browser interprets the CSS). Definitions must be in order as shown below because newer definitions override existing.
The first setting will apply to all browsers.
The second setting (using a pound symbol, #) will only apply to Microsoft Internet Explorer.
The third setting (an underscore, _ ) will only apply to IE browsers 6.0 and older.
The first setting will apply to all browsers.
The second setting (using a pound symbol, #) will only apply to Microsoft Internet Explorer.
The third setting (an underscore, _ ) will only apply to IE browsers 6.0 and older.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
.sample { height: 15px; #height: 15px; _height: 21px;
URL: http://www.cmsproducer.com/different-css--firefox-internet-explorer-7-IE-6-5