Re: Problem printing popup pages.
"Fabian" <lajzar@hotmail .com> writes:
[color=blue]
> DU hu kiteb:
>[color=green]
>> Fabian wrote:[/color][/color]
[color=blue][color=green]
>> a:link:after { content: " (" attr(href) ") "; }[/color]
>
> I just tested this; it doesn't appear to work, or does it only have the
> expected effect when printing to a printer, and not to a screen?[/color]
The part you quoted can work at any time. If it is wrapped in a
@media print { ...}
or included with
<link rel="stylesheet " media="print" ...>
then it only affects the printed media.
That line alone only puts content after unvisited links. Add an
a:visited:after selector to also match visited links.
[color=blue]
> Where is the reference for this?[/color]
<URL:http://www.w3.org/TR/CSS2/generate.html#b efore-after-content>
<URL:http://www.w3.org/TR/CSS2/generate.html#c ontent>
[color=blue]
> I agree this would be VERY useful if it consistently worked across
> environments.[/color]
It's CSS 2, so most likely, IE doesn't support it. Modern browsers
do. After all, CSS 2 has been a recommendation since May 1998.
/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
"Fabian" <lajzar@hotmail .com> writes:
[color=blue]
> DU hu kiteb:
>[color=green]
>> Fabian wrote:[/color][/color]
[color=blue][color=green]
>> a:link:after { content: " (" attr(href) ") "; }[/color]
>
> I just tested this; it doesn't appear to work, or does it only have the
> expected effect when printing to a printer, and not to a screen?[/color]
The part you quoted can work at any time. If it is wrapped in a
@media print { ...}
or included with
<link rel="stylesheet " media="print" ...>
then it only affects the printed media.
That line alone only puts content after unvisited links. Add an
a:visited:after selector to also match visited links.
[color=blue]
> Where is the reference for this?[/color]
<URL:http://www.w3.org/TR/CSS2/generate.html#b efore-after-content>
<URL:http://www.w3.org/TR/CSS2/generate.html#c ontent>
[color=blue]
> I agree this would be VERY useful if it consistently worked across
> environments.[/color]
It's CSS 2, so most likely, IE doesn't support it. Modern browsers
do. After all, CSS 2 has been a recommendation since May 1998.
/L
--
Lasse Reichstein Nielsen - lrn@hotpop.com
DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
'Faith without judgement merely degrades the spirit divine.'
Comment