Hey, you can't select this text! You can use it to cancel scroll chaining, disable/customize the pull-to-refresh action, disable rubberbanding effects on iOS (when Safari implements overscroll-behavior), and more. Because it's not fully compatible, it's got a bunch of vendor-prefixed declarations. In case, if you want to disable the text selection for an entire webpage you need to add the below css properties to your body tag. 2) Hold Shift key. The user-select property in CSS controls how the text in an element is allowed to be selected. There is also a CSS “user-drag” property but only supported by safari so a bit pointless. Syntax::disabled { // CSS property } You can also Set a background color for all disabled input elements of type=”text”: input[type=text]:disabled { background: #dddddd; } Example 1: Note: Script rewritten Dec 28th, 06. This creates a transparent copy of the clicked image while keeping the original image in its place. by using the disabled selector on required HTML form elements. Box drop-down styling¶. Once the element is made draggable, you can move it by clicking on it with the mouse and drag it anywhere within the viewport. Demo: Try selecting text within the above paragraph- it's disabled. JavaScript makes this possible. Select2 does not, itself, provide the necessary code to perform dragging and dropping, instead it provides hooks that other libraries can use to provide the behavior. You can use a CSS property to disable images in webkit browsers. img{-webkit-user-drag: none;} So, Today I am sharing a Custom HTML CSS Select Option Design. You can set the draggable attribute to false in either the markup or JavaScript code. // As a jQuery method: $('#myImage').attr('draggable', fa... -webkit-user-select: none; -o-user-select: none; Definition and Usage. To disable text selection highlighting in IOS Safari browser using CSS just set -webkit-touch-callout CSS property to none. protected void RadGrid1_PreRender (object sender, EventArgs e) { RadGrid1.Items [4].SelectableMode = GridItemSelectableMode.None; RadGrid1.Items [5].SelectableMode = GridItemSelectableMode.None; } The :disabled selector is used to select the disabled element. You can use the CSS3 resize property to remove or turn-off the default horizontal and vertical resizable property of the HTML