Previous Message
Next Message

Re: [css-d] This site looks better in....

Sent by Mark Howells on 1 February 2002 13:01


> In the <style> section, .doprint {display:none;}
>
> in the <style ... media="print"> section,
> .doprint {display:inline;}
> a {text-decoration:none; color:#000;}
>
> <body> (sample text line follows)
>
> Visit the <a href="(link url goes here)">Banknotes &amp; Banking
> page<a/> at the Bank of England website <span class="doprint">(PRINTED
> URL GOES HERE) </span>for more information.

I have an almost identical set of code at 
<http://www.mark.ac/web/validCode.php> and it works very well. This type 
of method can be very good if you're running a site where visitors may 
want to print out articles or tutorials, as you can hide menus and other 
web navigation elements which aren't relevant to a printed version.

Regards
Mark Howells
<http://www.mark.ac/css/>
Previous Message
Next Message

Message thread: