<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Font used for printing web page (Opera 12.17)]]></title><description><![CDATA[<p dir="auto">I've never noticed this before, but when I print a web page I wrote, it doesn't print in the same font it displays with.  The relevant CSS element is simply <em>"body {font-family: sans-serif; background-color:#fff980;}"</em> and the web page displays in Opera with what looks like Arial, but when I print the page (or even Print Preview) it uses a serif font (looks like Times New Roman?)</p>
<p dir="auto">How can I specify within Opera and/or within the CSS style sheet to use the same sans-serif font when printing?</p>
]]></description><link>https://forums.opera.com/topic/4072/font-used-for-printing-web-page-opera-12-17</link><generator>RSS for Node</generator><lastBuildDate>Wed, 18 Nov 2026 09:19:49 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/4072.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 22 Jul 2014 02:14:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Font used for printing web page (Opera 12.17) on Tue, 22 Jul 2014 17:10:12 GMT]]></title><description><![CDATA[<p dir="auto">I don't think there is, unless the mods can do it, but glad you solved it!<br />
<img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=5epnd3kurgn" class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face" title=":-)" alt="🙂" /></p>
]]></description><link>https://forums.opera.com/post/45789</link><guid isPermaLink="true">https://forums.opera.com/post/45789</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Tue, 22 Jul 2014 17:10:12 GMT</pubDate></item><item><title><![CDATA[Reply to Font used for printing web page (Opera 12.17) on Tue, 22 Jul 2014 15:03:27 GMT]]></title><description><![CDATA[<p dir="auto">(Is there a way to edit the thread title to add the word "SOLVED"?)</p>
]]></description><link>https://forums.opera.com/post/45778</link><guid isPermaLink="true">https://forums.opera.com/post/45778</guid><dc:creator><![CDATA[wpcoe]]></dc:creator><pubDate>Tue, 22 Jul 2014 15:03:27 GMT</pubDate></item><item><title><![CDATA[Reply to Font used for printing web page (Opera 12.17) on Tue, 22 Jul 2014 15:01:38 GMT]]></title><description><![CDATA[<p dir="auto">I found the problem:  user error, as usual.</p>
<p dir="auto">In the link to the CSS style sheet in the document header, for some reason, included a reference to screen:</p>
<p dir="auto"><em>link rel="stylesheet" href="styles.css" type="text/css" <strong>media="screen"</strong></em></p>
<p dir="auto">That apparently applies everything in the stylesheet to just the screen view, and not to print output, which makes sense.  WIth that screen reference and lacking a separate stylesheet for print output, the default Opera font is serif.  When I remove the <em>media="screen"</em> from the link, it works as I wanted/expected.</p>
<p dir="auto">Sorry for the bother!</p>
]]></description><link>https://forums.opera.com/post/45776</link><guid isPermaLink="true">https://forums.opera.com/post/45776</guid><dc:creator><![CDATA[wpcoe]]></dc:creator><pubDate>Tue, 22 Jul 2014 15:01:38 GMT</pubDate></item><item><title><![CDATA[Reply to Font used for printing web page (Opera 12.17) on Tue, 22 Jul 2014 12:01:42 GMT]]></title><description><![CDATA[<p dir="auto">If you don't specify a specific font in the page coding, the browser will use its fallback default font for display and for printing.<br />
The default display font can be changed under Tools&gt;Preferences&gt;Advanced&gt;Fonts, but I'm not sure about the printing fonts.<br />
Try putting "font-family: Arial, sans-serif;" in the CSS, if you want it to always display in Arial, and see if it then prints in Arial too.<br />
<img src="https://forums.opera.com/assets/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=5epnd3kurgn" class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face" title=":-)" alt="🙂" /></p>
]]></description><link>https://forums.opera.com/post/45765</link><guid isPermaLink="true">https://forums.opera.com/post/45765</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Tue, 22 Jul 2014 12:01:42 GMT</pubDate></item></channel></rss>