Is it possible to alter a link behavior to target=”_top” via CSS?
Edit:
Soon, my friends, soon. 🙂
a[target="_top"],
area[target="_top"],
form[target="_top"]
{ target: root }
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.
No, it is not possible. CSS is for presentation.
EDIT: The CSS3 Hyperlink Presentation Module talks about making this possible, but it is only a Working Draft and is not supported by any browsers.