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
Post a Comment