I have a slide show with divs for the "Previous" and "Next" buttons.
Inside the div there is a "<" or ">" character.
The problem is that when you quickly press the buttons to scroll through the images, the text is selected.
I tried some CSS tricks to prevent button text from being selected, but usually it ends up picking text further down the page. It is also not compatible with a browser without JS hackers.
If the div does not have a character in it, it works fine. I tried covering the div with a transparent div symbol, but it seems that as long as the symbol is under it, the text will be selected.
Any suggestion to prevent this? I would prefer the solution not to include javascript.
Thanks.
Enkay source share