W3C home > Mailing lists > Public > public-wai-ert@w3.org > July 2009

Re: ISSUE-17 (Document alignment): Alignt all ERT WG documents with each other

From: Johannes Koch <johannes.koch@fit.fraunhofer.de>
Date: Fri, 03 Jul 2009 10:15:03 +0200
Message-ID: <4A4DBE07.8070506@fit.fraunhofer.de>
To: Evaluation and Repair Tools Working Group WG <public-wai-ert@w3.org>
Johannes Koch schrieb:
> Hi group,
> 
> Carlos A Velasco schrieb:
>> Hi Johannes,
>>
>> I would also add to the references the URL of the code as <code />.
>> Useful when printing:
>>
>> <dt>[label]</dt>
>> <dd><a href="referenced_document">title</a>. Authors. type of document
>> and date. <code>URL</code></dd>
> 
> Something similar could by done using the content property in a print 
> style sheet:
> 
> <style type="text/css" media="print">
> dd a {
>   text-decoration: none;
>   color: #000;
>   background: #fff
> }
> dd a:after {
>   content: ". (&lt;" attr(href) ">)";
>   display: block
> }
> </style>

Or a bit more sophisticated (and without the stupid "display: block"):

<style type="text/css" media="print">
html {
   font-family: serif;
}
dt {
   font-family: sans-serif;
}
dd a {
   text-decoration: none;
   color: #000;
   background: #fff;
   font-style: italic;
}
dd a:after {
   content: ". (&lt;" attr(href) ">)";
   font-style: normal;
   font-family: monospace;
}
</style>

-- 
Johannes Koch
Fraunhofer Institute for Applied Information Technology FIT
Web Compliance Center
Schloss Birlinghoven, D-53757 Sankt Augustin, Germany
Phone: +49-2241-142628    Fax: +49-2241-142065
Received on Friday, 3 July 2009 08:25:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 3 July 2009 08:25:31 GMT