<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ayaketan</author_name>
  <author_url>https://blog.hatena.ne.jp/ayaketan/</author_url>
  <blog_title>ayaketanのプログラミング勉強日記</blog_title>
  <blog_url>https://ayaketan.hatenablog.com/</blog_url>
  <categories>
    <anon>CSS</anon>
  </categories>
  <description>PDF出力時の改ページを指定したかった。 印刷で改ページを指定するのと同じ方法で対処できたのでメモ。 CSSで印刷時の改ページの位置を指定できるようだ。 page-break-before 要素の直前の改ページを制御 page-break-after 要素の直後の改ページを制御 制御方法は次の3種類 auto 制御しない （初期値） always 直後で改ページさせる avoid 直後の改ページを禁止 私は、要素の直前で改ページを指定したかったので、CSSに下記のように記載した。 .new_page { page-break-before: always; } item毎に改ページをしたかった…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fayaketan.hatenablog.com%2Fentry%2F2014%2F04%2F11%2F132710&quot; title=&quot;印刷で改ページを指定する（PDF出力対応） - ayaketanのプログラミング勉強日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-04-11 13:27:10</published>
  <title>印刷で改ページを指定する（PDF出力対応）</title>
  <type>rich</type>
  <url>https://ayaketan.hatenablog.com/entry/2014/04/11/132710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
