Is it possible with css to visually indicate which links points to another site?
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.
If CSS3 is an option (this excludes IE6) you could style external links differently, provided your lines are relative and not absolute, what I mean is your links look like this:
Then you could use the CSS3 attribute selectors to style external links differently, like this:
You can see an example of this working here This uses the attribute “starts-with” selector, anything that has an
href="http...."will get styled with this rule. The only alternatives I see are either giving your external (or internal, either one) links a class when they’re rendered, or doing the same via javascript.