Conditional IE CSS Hack

Great little CSS hack for IE browsers, especially when IE6 browsers are causing problems.

.somestyle
{
    height: 15px;
    #height: 15px;
    _height: 21px;
}

The first setting will apply to all browsers,

The second setting will only apply to Microsoft Internet Explorer browsers

The third setting will only apply to IE browsers 6.0 and older

Author Andrew Clark

Web Application Developer

Add Comment

Name
Comment
 

Your comment has been received and will be shown once it passes moderation.