<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ts0818</author_name>
  <author_url>https://blog.hatena.ne.jp/ts0818/</author_url>
  <blog_title>ts0818のブログ</blog_title>
  <blog_url>https://ts0818.hatenablog.com/</blog_url>
  <categories>
    <anon>HTML/CSS</anon>
  </categories>
  <description>職場の先輩から、Angular2 RC6リリースの話を聞き、Angularの勉強もせねばと思いましたが、cssのfloatで大ハマりしたのでメモメモ。 floatは要素の高さを揃えないと崩れます 今回、ulのli要素にfloat:left;をしたのですが、見事に崩れました。 html &lt;ul&gt; &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;image/01.png&quot;&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;image/02.png&quot;&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href=&quot;&quot;&gt;&lt;img src=&quot;image/03.png&quot;&gt;&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fts0818.hatenablog.com%2Fentry%2F2016%2F09%2F06%2F015819&quot; title=&quot;cssのfloatでハマったので - ts0818のブログ&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-09-06 01:58:19</published>
  <title>cssのfloatでハマったので</title>
  <type>rich</type>
  <url>https://ts0818.hatenablog.com/entry/2016/09/06/015819</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
