label for[…] not recognised by IE8

后端 未结 5 1520
别跟我提以往
别跟我提以往 2021-01-25 13:10

I have the css below:

span label[for=Length]
{
width: 90px; 
display: block;
text-align:right; 
margin-top: 2px;
margin-right: 5px;
}

with the

5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-25 13:45

    It works in IE8.. Not depends on the browser. Check the !doctype html for the file. Hence its an attribute, it works.

提交回复
热议问题