- From: Peter Foti (PeterF) <PeterF@SystolicNetworks.com>
- Date: Tue, 5 Mar 2002 13:19:23 -0500
- To: "'www-style@w3.org'" <www-style@w3.org>
One could always apply a class to the link. For example: <style type="text/css"> .internallink a:link, .internallink a:visited, .internallink a:active { color: red; } .remotelink a:link, .remotelink a:visited, .remotelink a:active { color: green; } </style> <a href="localpage.htm" class="internallink">Local Page</a> <a href="http://www.somesite.com/remotepage.htm" class="remotelink">Remote Page</a> But you would have to manually define the class. It would be too much work to try an parse the link to determine if it was local or not. -Pete > -----Original Message----- > From: www-style-request@w3.org [mailto:www-style-request@w3.org]On > Behalf Of Simon Bellwood > Sent: Monday, February 25, 2002 4:46 PM > To: www-style@w3.org > Subject: external/internal hyperlinks > > > A lot of sites seem to be using icons to differentiate > between internal and > external links. > > It would be nice if we could specify that hyperlinks within > the same domain > name have one colour, and hyperlinks that are not in the same > domain name do > not. > This would probably get more complicated, and a list > specifying "internal" > domains might be needed, e.g. if microsoft.com linked to > microsoft.co.uk, > this might need to be an internal link. > >
Received on Tuesday, 5 March 2002 13:17:36 UTC