<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mtbr</author_name>
  <author_url>https://blog.hatena.ne.jp/mtbr/</author_url>
  <blog_title>mtbrの日記</blog_title>
  <blog_url>https://mtbr.hatenadiary.org/</blog_url>
  <categories>
    <anon>markup</anon>
    <anon>howto</anon>
  </categories>
  <description>のような効果が欲しいとき使えるCSS。table タグは使いたくないけれど、table タグの効果が欲しい。 ということで、 水平方向のmargin:autoと、 display:table を組み合わせる。 &lt;h1 style=&quot;border:1px black solid; display:table; margin: 0 auto;&quot;&gt;test&lt;/h1&gt;水平方向の margin:auto は、LaTeX の\hfill と同様に解釈される。 display:table は、bounding box のサイズが「最小」になる。</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmtbr.hatenadiary.org%2Fentry%2F20060716%2Fmarkuphowto&quot; title=&quot; ブロック要素をセンタリング  - mtbrの日記&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>2006-07-16 00:00:00</published>
  <title> ブロック要素をセンタリング </title>
  <type>rich</type>
  <url>https://mtbr.hatenadiary.org/entry/20060716/markuphowto</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
