{"id":333,"date":"2012-05-04T08:26:46","date_gmt":"2012-05-04T08:26:46","guid":{"rendered":"https:\/\/ibex.tech\/cloud\/?p=333"},"modified":"2022-02-17T07:14:04","modified_gmt":"2022-02-17T07:14:04","slug":"font","status":"publish","type":"post","link":"https:\/\/ibex.tech\/cloud\/css\/text-css\/font","title":{"rendered":"Font"},"content":{"rendered":"\n<pre class=\"wp-block-code\"><code>p {\n  font-family: Arial, Helvetica, sans-serif;\n  font-size: 14px;\n  font-weight: bold;\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Global font<\/h4>\n\n\n\n<p>Set the font in the &lt;body&gt; style and nowhere else to allow the font to be changed from one place.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>p {\n  font-family: Arial, Helvetica, sans-serif;\n}<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Spacing Lines<\/h4>\n\n\n\n<p>If you don&#8217;t want the spacing between paragraphs use margin. If you set margin to 0 there will be no spacing. If you have a gap between 2 different sytles, then both need the margin to be 0.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Monospace font<\/h4>\n\n\n\n<p>Courier etc fonts.  This is a trick of how to specify in css to stop some web browsers reducing the font size in response to monospace<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;p style=\"font-family: monospace, monospace;\"&gt;My Text&lt;\/p&gt;<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Global font Set the font in the &lt;body&gt; style and nowhere else to allow the font to be changed from one place. Spacing Lines If you don&#8217;t want the spacing between paragraphs use margin. If you set margin to 0 there will be no spacing. If you have a gap between 2 different sytles, then [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[245],"tags":[],"class_list":["post-333","post","type-post","status-publish","format-standard","hentry","category-text-css"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/333","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/comments?post=333"}],"version-history":[{"count":8,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/333\/revisions"}],"predecessor-version":[{"id":3487,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/posts\/333\/revisions\/3487"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/media?parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/categories?post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/cloud\/wp-json\/wp\/v2\/tags?post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}