I would like to allow the users to select text that resides in multiple DIVs that are located one after the other with small gaps between them. the problem is, that when the user drags the mouse to perform the selection, they pass over the "gaps", which causes the whole parent DIV is selected momentarily, until they enter into the following child DIV. This causes "flickers" behaviour and bad user experience, because the parent DIV also has images, and for a moment, all of the images are being selected too. I tried several method suggested in this forum, including: -moz-user-select: none; -khtml-user-select: none; -webkit-user-select: none; user-select: none; unselectable=on, and overriding the event onselectstart: return false; Unfortunately, if I were to disable selecting text in the parent DIV, all the children DIVs immediately adopted that behaviour, and that is not what I meant. I want that the parent DIV won't be selected, but its children will. Thanks
Update:
The "onselectstart" is called only for the parent DIV (and spans/paragraphs beneath it), but it is NOT called when the image is being selected. Therefore, trying to manipulate it and use "return false;" is not relevant; the image simply won't get that event.