{"id":1911,"date":"2011-10-26T15:32:35","date_gmt":"2011-10-26T07:32:35","guid":{"rendered":"http:\/\/www.jpuyy.com\/blog\/?p=1911"},"modified":"2012-09-30T10:51:40","modified_gmt":"2012-09-30T02:51:40","slug":"wordpress-pre-style","status":"publish","type":"post","link":"https:\/\/jpuyy.com\/?p=1911","title":{"rendered":"WordPress\u4e2dPre\u6807\u7b7e\u81ea\u52a8\u6362\u884c"},"content":{"rendered":"<p align=\"left\">\u4f7fWordPress\u4e2d\u4f7f\u7528Pre\u6807\u7b7e\uff0c\u7ecf\u5e38\u4ee3\u7801\u8fc7\u957f\uff0c\u4e0d\u81ea\u52a8\u6362\u884c<\/p>\n<p align=\"left\">\u4e3b\u9898&#8211;\u7f16\u8f91&#8211;\u6837\u5f0f\u8868 (style.css)<\/p>\n<p align=\"left\">\u627e\u5230\u63a7\u5236pre\u7684\u90e8\u5206<\/p>\n<pre>pre {\u00a0\u00a0 \u00a0\r\n        font-family: \"Courier 10 Pitch\", Courier, monospace;\r\n\u00a0\u00a0 \u00a0    \/* styles to make preformatted text wrap *\/\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: pre-wrap;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/* css-3 *\/\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: -moz-pre-wrap;\u00a0 \/* Mozilla, since 1999 *\/\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: -pre-wrap;\u00a0\u00a0\u00a0\u00a0\u00a0 \/* Opera 4-6 *\/\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: -o-pre-wrap;\u00a0\u00a0\u00a0 \/* Opera 7 *\/\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 word-wrap: break-word;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/* Internet Explorer 5.5+ *\/\r\n}<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u4f7fWordPress\u4e2d\u4f7f\u7528Pre\u6807\u7b7e\uff0c\u7ecf\u5e38\u4ee3\u7801\u8fc7\u957f\uff0c\u4e0d\u81ea\u52a8\u6362\u884c \u4e3b\u9898&#8211;\u7f16\u8f91&#8211;\u6837\u5f0f\u8868 (style.css) \u627e\u5230\u63a7\u5236pre\u7684\u90e8\u5206 pre {\u00a0\u00a0 \u00a0 font-family: &#8220;Courier 10 Pitch&#8221;, Courier, monospace; \u00a0\u00a0 \u00a0 \/* styles to make preformatted text wrap *\/ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: pre-wrap;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/* css-3 *\/ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: -moz-pre-wrap;\u00a0 \/* Mozilla, since 1999 *\/ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: -pre-wrap;\u00a0\u00a0\u00a0\u00a0\u00a0 \/* Opera 4-6 *\/ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 white-space: -o-pre-wrap;\u00a0\u00a0\u00a0 \/* Opera 7 *\/ \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 word-wrap: break-word;\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \/* [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[23],"class_list":["post-1911","post","type-post","status-publish","format-standard","hentry","category-web","tag-summary"],"_links":{"self":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/1911","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1911"}],"version-history":[{"count":8,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/1911\/revisions"}],"predecessor-version":[{"id":3924,"href":"https:\/\/jpuyy.com\/index.php?rest_route=\/wp\/v2\/posts\/1911\/revisions\/3924"}],"wp:attachment":[{"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1911"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1911"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jpuyy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1911"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}