<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kyomachiya</author_name>
  <author_url>https://blog.hatena.ne.jp/kyomachiya/</author_url>
  <blog_title>Kyomachi-blog</blog_title>
  <blog_url>https://www.jibun-tukuri.com/</blog_url>
  <categories>
    <anon>HTML/CSS</anon>
  </categories>
  <description>こんにちは、京町啓一です。 今回は、ブロック要素内でブロック要素を上下左右 中央揃えにする方法を紹介します。 HTML/CSSを記述していると、使うことが多いものですので、身につけておいていただければと思います。 HTML text-align は block 要素に適用できる vertical-align は block要素には効かない FlexBox を使う まとめ HTML // index.html &lt;div class=&quot;wrapper&quot;&gt; &lt;p&gt;この p要素（ブロック要素）を上下左右中央にしたい&lt;/p&gt; &lt;/div&gt; text-align は block 要素に適用できる 左右中央…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.jibun-tukuri.com%2Fentry%2F20181228%2F1546005816&quot; title=&quot;HTML / CSS｜ブロック要素内でブロック要素を上下左右 中央揃えにする方法 - Kyomachi-blog&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>https://cdn-ak.f.st-hatena.com/images/fotolife/k/kyomachiya/20181228/20181228230301.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-12-28 23:03:36</published>
  <title>HTML / CSS｜ブロック要素内でブロック要素を上下左右 中央揃えにする方法</title>
  <type>rich</type>
  <url>https://www.jibun-tukuri.com/entry/20181228/1546005816</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
