+1
Rozpoczęte

Tab header text selection prevention via css

Cole 11 lat temu Ostatnio zmodyfikowane przez icahill (Administrator) 11 lat temu 1
To prevent user selection of the tab headers (In case they want to try switching the tab order or something).

css:

.tab-header {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

Stackoverflow Solution: "css rule to disable text selection highlighting"

Tested in webkit + Chrome v25