Prevent Highlight of Text Table

后端 未结 7 1952
悲&欢浪女
悲&欢浪女 2020-12-01 01:47

I have a table, and I\'m allowing users to \'select\' multiple rows. This is all handled using jQuery events and some CSS to visually indicate the row is \'selected\'. When

7条回答
  •  悲&欢浪女
    2020-12-01 01:55

    ::-moz-selection { /* Code for Firefox */  
        color: black;  
        background: none;
    }
    
    ::selection {  
        color: black;  
        background: none;  
    }  
    

    from http://www.w3schools.com/cssref/sel_selection.asp
    actually from the try-it section, after changing the values.
    notice though that the cursor is still 'I' shaped...

提交回复
热议问题