On Wed, Aug 26, 2009 at 10:28 PM, Tim Snadden <[email protected]> wrote:
> > On 27/08/2009, at 9:02 AM, [email protected] wrote: > > > Can you or has anyone ever used CSS to indicate that a link would > > take you > > outside the current web site? Trying to come up with some way to let > > the > > user know they are exiting my site. > Best example is Wikipedia. Try http://en.wikipedia.org/wiki/Cascading_Style_Sheets . Look at the bottom of the intro paragraphs where it says 'RFC 2318'. IIRC it adds padding to the <a> on the right-hand side and adds a background-image positioned to the right. > Further to my original reply... > > a[href^='http://'] { /* your rules */ } > I think (not sure) that this only works in IE 7 and above. Might want to test that out in IE 6. ______________________________________________________________________ css-discuss [[email protected]] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
