Return to Snippet

Revision: 20031
at November 4, 2009 20:32 by jonathanpglick

Initial Code
<!--[if IE 8]>
legend {
    display: block !important;
    height: 0;
    margin: 0;
    padding: 0;
    width: 0;
    visibility: hidden;

Initial URL

Initial Description
This IE8  bug causes the top half of a fieldset's border to not show when it contains a `<legend>` that is hidden with `display: none;`

The solution comes from [](  Be sure to put the following CSS into an IE8 conditional comment because it *will* fuck with other browsers' rendering.

Initial Title
IE8 Fieldset Legend bug fix

Initial Tags

Initial Language