Re: navigation banner in css.

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 UTC