W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2003

Re: navigation banner in css.

From: Kynn Bartlett <kynn@idyllmtn.com>
Date: Sat, 8 Feb 2003 11:23:01 -0800
Cc: Joe Clark <joeclark@joeclark.org>, WAI-IG <w3c-wai-ig@w3.org>
To: Charles McCathieNevile <charles@sidar.org>
Message-Id: <BD6A487E-3B9A-11D7-A170-0003930E8CF0@idyllmtn.com>

On Friday, January 24, 2003, at 07:41  PM, Charles McCathieNevile wrote:
> Visually (i.e. for the large majority of people) it is not clear how 
> to interpret <a href="foo">this is a </a><a href="bar>very</a> <a 
> href="baz">contrived example</a>.

But a solved problem:

/* user.css */

a:link, a:visited {
     margin-right: 0.3em !important;
     margin-left: 0.3em !important;
     padding-right: 0.5em !important;
     padding-left: 0.5em !important;
     background-color: #FFFFCC !important;
     border: 0.1em solid red !important;
     /* Adjust to suit taste, if you need to have your visual links
        distinguished from each other */
}

Now, you can point out that this functionality is not EASY to install 
in a
browser -- but that is the fault of the browsers for not allowing basic
CSS tricks like this to be easily bundled and placed into a user style 
sheet.

--Kynn

> --
Kynn Bartlett <kynn@idyllmtn.com>                     http://kynn.com
Chief Technologist, Idyll Mountain                http://idyllmtn.com
Author, CSS in 24 Hours                       http://cssin24hours.com
Inland Anti-Empire Blog                      http://blog.kynn.com/iae
Received on Saturday, 8 February 2003 14:24:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:08 GMT