<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>DocSeri</author_name>
  <author_url>https://blog.hatena.ne.jp/DocSeri/</author_url>
  <blog_title>妄想科學倶樂部</blog_title>
  <blog_url>https://docseri.hatenablog.jp/</blog_url>
  <categories>
    <anon>CSS</anon>
  </categories>
  <description>IEのposition/float回りには色々と爆弾があって、どういわけかwidthとの相関性が深いのだが、今ちょっとpositionでサイドメニューを調整しているときに引っ掛ったバグについて書いておく。 メインとなる部分をmargin-leftで余白を作り、そこにposition:absoluteでサイドメニューを置きメインのマージンと同じだけ幅を指定する。これで普通なら構造上は後に書いたメニューを本文左に持って来れるわけだが、IEの場合は何故か予定より右に表示されてしまう。 いろいろテストしたところ、どうもposition指定要素にwidthを同時指定するとwidth分右にずれて表示すると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdocseri.hatenablog.jp%2Fentry%2F20070322%2F1174541002&quot; title=&quot;IEでpositionとwidthを指定するときの注意 - 妄想科學倶樂部&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>2007-03-22 14:23:22</published>
  <title>IEでpositionとwidthを指定するときの注意</title>
  <type>rich</type>
  <url>https://docseri.hatenablog.jp/entry/20070322/1174541002</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
