如何去处理 li,dt,dd等引起的无法显示背景的bug呢。

如何去处理 li,dt,dd等引起的无法显示背景的bug呢。

这个是ie6 的一个bug.

div {
    float
: left;
    position
: relative;
    clear
: left; /* not related to the bug */
}

dt, dd, li 
{
    background
: #f00;
}


div {
    float
: left;
    position
: relative;
    clear
: left; /* not related to the bug */
}

dt, dd, li 
{
    background
: #f00;
    position
: relative;
}


更多:http://developer.51cto.com/art/200908/143733.htm

原文地址:https://www.cnblogs.com/zq535228/p/1762652.html