asp.net - Non selectable text in html table? -


Question: I abuse a table as a list of buttons, using onclick in each cell.
The problem is that the buttons are the zoom buttons, and if you click the button (doubleclick) repeatedly you choose the button (= table cell) text (even if you do not want to) and it looks awkward is.
Can I turn it off? Do not I select the text in a table?

To prevent a user from answering your basic question ... on a page With the ability to publish text, apply the following CSS rules:

-moz-user-select: none; -khtml- Select User: None; Select User: None;


Comments

Popular posts from this blog

asp.net mvc - Dynamically Generated Ajax.BeginForm -

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

c++ - QtQuick: QQmlApplicationEngine failed to load component qrc:/main.qml:23 Invalid attached object assignment -