The header for my page has some centered text, but I do not want the user to be able to select it. Is there a way to do this with CSS?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The CSS below stops users from being able to select text.
To target IE9 downwards the html attribute
unselectablemust be used instead: