3 ms·
They could have their cake, and link to it, too, by specifying a print-only stylesheet. [span class="screen"][a href="http://news/story]As http://news/story]As
by pavel_lishin 15y ago
They could have their cake, and link to it, too, by specifying a print-only stylesheet.
[span class="screen"][a href="http://news/story]As http://news/story]As the Boston Globe reports[/a][/span] [span class="print"]As the Boston Globe reports ([a href="http://news/story]http://news/story[/a])[/span] http://news/story]http://news/story[/a])[/span]
And then hide span.print in browsers, and vice versa for print.
edit: okay, I have no idea how formatting here works, sorry for the ugly links.
- epochwolf 15y agoDirect link for your convince: http://news.ycombinator.com/formatdoc http://news.ycombinator.com/formatdoc Found it in the faq, enjoy. :)
- pavel_lishin 15y agoYeah, I saw that - the only real good option I saw was prefixing the HTML with the four spaces, but that would make the line unwrapped, long, etc... Sometimes HN's minimalism works great, and sometimes it's like trying to hammer a nail with a screwdriver.
- BrandonM 15y agoWhat's wrong with this? <span class="screen"> <a href="http://news/story">As the Boston Globe reports</a> </span> <span class="print"> As the Boston Globe reports (<a href="http://news/story">http://news/story</a>) </span>