How to change cursor style on element with 'contenteditable' attribute in IE?

后端 未结 1 1332
春和景丽
春和景丽 2021-01-03 08:51

I am trying to change style of cursor on element that has \'contenteditable\' attribute set to true in IE.

相关标签:
1条回答
  • 2021-01-03 09:25

    it depends on your DTD you have chossen. Seems you use default strict DTD.

    Here is reference for possible declarations: look to 7.2 HTML version information.

    I tried with:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    

    and it works great, but it don't works with next declaration:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    

    Hope it helpful and you can use that DTD without issues on another layouts.

    0 讨论(0)
提交回复
热议问题