<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>8bitodyssey.com &#187; CSS</title>
	<atom:link href="http://8bitodyssey.com/archives/tag/css/feed" rel="self" type="application/rss+xml" />
	<link>http://8bitodyssey.com</link>
	<description>WordPressでつづる、おでのこの道わが旅。</description>
	<lastBuildDate>Sat, 04 Feb 2012 02:26:13 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/tag/css/feed" />
		<item>
		<title>2006年11の月、空からIE7が降ってくる</title>
		<link>http://8bitodyssey.com/archives/721</link>
		<comments>http://8bitodyssey.com/archives/721#comments</comments>
		<pubDate>Thu, 02 Nov 2006 09:07:01 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[インターネット]]></category>
		<category><![CDATA[ウェブ開発]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/721</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p><em>2006年11の月2日<br />
空から恐怖の大王が来るだろう<br />
アンゴルモアの大王を蘇らせるために<br />
その前後マ<del datetime="2006-11-02T08:26:39+00:00">ルス</del>イクロソフトは幸福によって支配する</em></p>
<p>いや全然幸福になりそうでもないんであって……:sad:<br />
いよいよ本日マイクロソフトが<a href="http://www.microsoft.com/japan/windows/ie/" target="_blank" title="Internet Explorer 7">Internet Explorer 7日本語正式版</a>をリリースしました。</p>
<p>IE7のCSS対策については
<ul>
<li><a href="http://8bitodyssey.com/archives/603" title="Internet Explorer 7で使えなくなるCSSハック">Internet Explorer 7で使えなくなるCSSハック</a></li>
<li><a href="http://8bitodyssey.com/archives/651" title="IE7CSS問題のまとめと対策">IE7CSS問題のまとめと対策</a></li>
</ul>
でも取り上げましたが、今後のサイトの作り方として、あえてここで提案したい。</p>
<h3>いつまでも古いブラウザを気にするのやめませんか？</h3>
<p>まずは、FirefoxやSafariだとか（一応IE7も）WEB標準への準拠度が高いモダンブラウザを基準にしながらデザインが崩れないようなサイトを作る。次にオールドブラウザでの動作も一応確認してみる。まったく同じように見えなくともユーザが情報を得るのに支障がない程度のデザインの違いならもう諦めてしまう。古いブラウザには、そもそも最初からCSSを読み込ませない。</p>
<p>これでいいじゃありませんか。サイトのアクセス解析を見てみてください。NN4だとかIE5だとかでアクセスしてくるユーザってもうほんの一部でしょう？そういうユーザってたとえばあなたのサイトで積極的に買い物をしてくれるようなアクティブユーザではないですよ。そうよ、きっとそうなのよ！</p>
<p>…というような考え方の切替をしていかないといつまでもストレスがたまると思うんですよ。条件付コメントを使うことも、一部のブラウザのための表示を書くことになるので、あまりよくないみたいだしね。多少デザインが崩れているよりも、クレジットカードを使うにはIEで…とかいうサイトのほうがよっぽどかっこ悪いし、不便だと思うけどなぁ。。。</p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/721/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/721" />
	</item>
		<item>
		<title>CSS Nite vol.13で考えたわたしがFirefoxを好きな理由</title>
		<link>http://8bitodyssey.com/archives/717</link>
		<comments>http://8bitodyssey.com/archives/717#comments</comments>
		<pubDate>Thu, 19 Oct 2006 14:50:49 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[インターネット]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[FireFox]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/717</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p><a href="http://static.flickr.com/92/273940763_da933f7bff.jpg" class="highslide" onclick="return hs.expand(this)">
<img src="http://static.flickr.com/92/273940763_da933f7bff_m.jpg" alt="Firefox2 Reviewer's Guide & special sticker" id="thumb" title="Click to enlarge"  width="180"　height="240" />
<div class='highslide-caption' id='caption-for-thumb'>
<a href="http://www.flickr.com/photos/odysseygate/273940763/" target="_blank" title="go 2 flickr">http://www.flickr.com/photos/odysseygate/273940763/</a>
</div></a></p>
<p>毎月第3木曜日の恒例のイベント「<a href="http://cssnite.jp/archives/post_364.php" target="_blank" title="CSS Nite Vol.13">CSS Nite Vol.13</a>」に行ってきました。今回はMozilla Japanの金井さん、中野さんによる「Firefox最新情報」。</p>
<p>RC3（製品候補第3弾）がリリースされたばかりのFirefox 2だけでなくFirefox 3のことまで語ってくださいました。（詳しい内容は右記参照→<a href="http://cssnite.jp/vol13/Firefox/" target="_blank" title="CSS Nite Vol.13">http://cssnite.jp/vol13/Firefox/</a>）</p>
<p>日々愛用しているFirefoxで困っていることと言えば、とにかくメモリを食って重いということです :sad: 。ついついタブを開きまくって同時に7ページとか開いたりするもんだから（←タブ式「あとで読む」）、朝は快適なのに夜は激重 :troubled3: </p>
<p>そんななので「Firefox 2では改善されませんか？」と会場でも質問したのですが、上記スライドからも分かるとおりFirefoxコアのGeckoエンジンはFirefox→Firefox 2では1.8→1.8.1と変化がないため改善はほとんどないそうです。ただし！Gecko1.9になるFirefox 3には期待してください、とのことでした :smile2: </p>
<p style="margin-top:2em;">奇しくもアメリカでInternet Explorer 7がリリースされた日のセミナーだったわけですが、改めて今後もFirefoxをメインで使って行きたいという気になりましたね。</p>
<p><abbr title="Internet Explorer 7">IE7</abbr>のRC（製品候補）もインストールはしたのですが、サイトの表示チェックをするくらいでなんだかワクワクがない。Firefox 2のベータ版だった頃も同じような感じで、ウェブサイトの表示が劇的に変わるわけでもないし、何より拡張機能（アドオン）が対応しておらず使えないのでツールとして使い物にならない。自分が<a href="http://firefox.exxile.net/" target="_blank" title="All-In-One Sidebar">All-In-One Sidebar</a>にどれくらい依存しているか分かりました。</p>
<p>Firefoxを好きな理由、結局のところそれは拡張機能かなと。リアルタイムでCSSを書き換えたり（<a href="http://editcss.mozdev.org/" target="_blank" title="Edit CSS">Edit CSS</a>）、ウェブページの構造を把握したり（<a href="http://www.infoaxia.com/tools/webdeveloper/" target="_blank" title="Web Developer">WEB Developer Tools</a>）、メモを取ったり（<a href="http://www.google.com/notebook" target="_blank" title="Google Notebook">Google Notebook</a>）、色を管理したり（<a href="http://www.iosart.com/firefox/colorzilla/" target="_blank" title="Colorzilla">Colorzilla</a>）、FTPに使ったり（<a href="http://fireftp.mozdev.org/" target="_blank" title="FireFTP">FireFTP</a>）……。その拡張機能も、コアシステムも、Windows Updateなんかよりよっぽど手軽に最新バージョンにアップデートできる。フリーソフトは全部Firefoxにまとめてもらってバージョン管理できたらいいのに、と思うくらいです。</p>
<p>Netscape 4の頃は、くたばれネスケ！と思ってたくらいですが ((IEとの表示の違いに、ウェブ製作者はみんなこう思ってたよね？))、あのソフトウェアの血を引いた、まさかこんなステキなものが生まれるなんて、当時は思いもしませんでしたね。</p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/717/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/717" />
	</item>
		<item>
		<title>[CSS Nite Vol.12]『WordPressを使って15分で作るCSSサイト』</title>
		<link>http://8bitodyssey.com/archives/705</link>
		<comments>http://8bitodyssey.com/archives/705#comments</comments>
		<pubDate>Thu, 21 Sep 2006 14:59:42 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ウェブ開発]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/705</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p>前回に引き続きCSS Niteに参加してきました。今回はネタがWordPress、プレゼンターが<a href="http://detlog.org/" target="_blank" title="detlog.org">Nao</a>さん、ということでぜひとも参加したかったんです（WordPressに移行して半年たちますが、detlogは移行の際にいろいろと参考にさせて頂いたのでした）。</p>
<p>プレゼン内容は<a href="http://cssnite.jp/archives/post_319.php" target="_blank" title="CSS Nite Vol.12フォローアップ（2）第1部（Naoさん）のプレゼンの資料">こちら</a>からスライドと音声ファイルをダウンロードできるのでそちらを参考にして頂きたいのですが（いやー、すごいですね、これ。地理的・時間的に参加できない方にも優しい！）、個人的にためになったのはウィジェットプラグイン（テンプレートはウィジェット対応が必要）、テンプレート階層のあたりですね。テーマを自作するのに役立ちそうです。</p>
<p>プレゼン受講者の中でWordPressでサイトを運営している人は１割くらい、インストールしたのはもうちょい多め、という感じで多くの人はWordPress未体験だったためか、皆さん必死にメモを取られてました（あたしゃ<strong>趣味</strong>で参加してますが、ウェブデザイナーさんたちからしたら飯の種かもしれませんから、そりゃ真剣ですよね…）</p>
<p>URLとかを必死にメモされていたようですが、このあたりは後からウェブ公開のスライドを見ればよいことだし、せっかく自分以外の方が操作しているところを見れるのだから（これがかなりためになる）画面に集中できればよかったのになぁと思いました :sad: （メモとらなくていいですからねーって一言あればずいぶん違ったのかな？）</p>
<p>そういえば、プレゼンの際に表示されたWordPressのダッシュボードに、Hatena:RSSが表示されたのですが、何気においらのエントリが二つも入っていて、個人的にガッツポーズ :syakin: ええ、自己満足ですけどね :troubled3: </p>
<p>NiteのあとはLite？Naoさんを囲んでアイリッシュパブで交流会。こちらもとっても楽しかったです。</p>
<p>普段の仕事はウェブ系とはちょっと違ってリアルサービス系だったりするので、CMSの話なんてまるでしません。あれがいーんだ、このCMSがいーんだ、とか、先駆者はWPのことは自分で調べて今までやってきたんだ :syakin: 、とかNaoさんはじめ色々な方と普段できないお話ができて楽しかったです。</p>
<p>ぜひ次回も参加したいなーと思います。<del datetime="2006-09-22T14:21:42+00:00">お酒</del>Liteからかもしれないけど… :embarrassed: </p>
<p>関連URL：
detlog.org：<a href="http://detlog.org/archives/496" target="_blank" title="detlog.org ≫ ブログアーカイブ ≫ CSS Nite Vol.12 にご来場ありがとうございました！">CSS Nite Vol.12 にご来場ありがとうございました！</a><br />
CSS Nite公式ブログ：<a href="http://cssnite.jp/archives/post_316.php" target="_blank" title="CSS Nite Vol.12、終了しました">CSS Nite Vol.12、終了しました</a></p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/705/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/705" />
	</item>
		<item>
		<title>CSS Nite vol.10</title>
		<link>http://8bitodyssey.com/archives/670</link>
		<comments>http://8bitodyssey.com/archives/670#comments</comments>
		<pubDate>Thu, 20 Jul 2006 13:22:11 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[ウェブ開発]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/670</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p><img src="http://8bitodyssey.com/diary_photo/20060720.jpg" alt="アップルストア銀座" title="アップルストア銀座" width="240" height="180" class="imgalignleft" />さもウェブ制作者であるかのような顔をして、銀座のアップルストアで開催された<a href="http://cssnite.jp/vol10/post_224.html" target="_blank" title="CSS Nite">CSS Nite Vol.10</a>に初参加してきました。無関係じゃないけどね…。EコマースはEコマースなんで…。でも回りはデザイナーさんやコーダーさんが多いようで、ちょっと肩身が狭っ！</p>
<p>行ってみるまではびくびくものだったんですが、立ち見の人もいて大盛況なんですね。←座れなかった。</p>
<p>第一部神崎正英さんのプレゼンのテーマは、フォーマルで行こう。well formalなXHTMLを記述すればXSLTを使って情報を変換し、再利用（別の形で使う）することができる、という内容と理解しました。</p>
<p>むかーしむかしに、XHTMLの元であるXMLは相互に利用しやすい言語だと書かれていた意味がやっと具体的な形として理解できた気がします。</p>
<p>第二部鷹野雅弘さんのプレゼンはフォームの整形とマークアップについて。Dreamweaverでの制作を分かりやすく見せて頂きました。tableにフォームを埋めていくのがちょこっと違和感を感じましたが、表だと思えばいいのかな…。それにしてもMacでのプレゼンって綺麗でいいですね。Keynoteかな。</p>
<p>これは要望なんですが、立ち見だとちょっとプレゼン黄色の字が読みづらかったです。自分のプレゼンでも気をつけようっと。</p>
<p>次回も余所者ながらふてぶてしく参加してみたいと思います。</p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/670/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/670" />
	</item>
		<item>
		<title>[WordPress] テーマを自作してみた</title>
		<link>http://8bitodyssey.com/archives/669</link>
		<comments>http://8bitodyssey.com/archives/669#comments</comments>
		<pubDate>Wed, 19 Jul 2006 14:25:23 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[ウェブ開発]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/669</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p><img src="http://8bitodyssey.com/diary_photo/20060719.gif" alt="Honyaque" title="Honyaque" width="240" height="180" class="imgalignleft" />WordPressはテーマ機能という優れたデザイン管理機能を持っていて、有志の方が作成したテーマを簡単に自分のWordPressに導入できるのがウリの一つです。</p>
<p>Movable Typeを使っていた頃からブログのデザインは自作していましたから、WordPressでも自作を…あわよくば配布できれば…なんて思っていました。</p>
<p>ところがこれが思っていたよりも大変。テンプレートがPHPなので思わぬところで条件分岐したり、プラグインで予想外の表示になること山の如し。</p>
<p>一から作るのは断念してWordPress Defaultをベースに作ってみましたが、正直言って納得言ってません。ソースをのぞかれると顔から火が出そうですが、角丸デザインにするためDIV房になっていたりします（・－・;</p>
<p><a href="http://www.yasuhisa.com/could/" target="_blank" title="COULD">ヤスヒサさん</a>や<a href="http://2xup.org/" target="_blank" title="2xup">カミノゴウヤさん</a>をお手本に勉強してきた身としてはいろいろ心苦しい決断をしながら、やりたいこと＝角丸を最優先してXHTMLとCSSを調整しました。そういう意味ではValidではないですが、ブラウザ側の実装もパーフェクトではない現状、自分の持てる力量や時間と相談しながら妥協も必要かなと思っています。</p>
<p>ということで二・三日前から自作テーマHonyaqueにして様子を見ています。配布できるようになるまでにはまだまだ勉強が必要かなー…。</p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/669/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/669" />
	</item>
		<item>
		<title>IE7CSS問題のまとめと対策</title>
		<link>http://8bitodyssey.com/archives/651</link>
		<comments>http://8bitodyssey.com/archives/651#comments</comments>
		<pubDate>Tue, 23 May 2006 14:59:36 +0000</pubDate>
		<dc:creator>おで</dc:creator>
				<category><![CDATA[ウェブ開発]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[xhtml]]></category>

		<guid isPermaLink="false">http://8bitodyssey.com/archives/651</guid>
		<description><![CDATA[<p><img src="http://www.odysseygate.com/images/pero.jpg" style="float: left; margin: 2px 5px 1px 0px"/></p>
<p>はてなブックマークで知ったんですが、Internet Explorer7のCSS問題がまた注目を浴びてるんですね。<br />
<a href="http://b.hatena.ne.jp/hotentry?mode=daily&date=20060523" target="_blank" title="はてなブックマーク &raquo; 過去の人気エントリー 2006年05月23日">はてなブックマーク &raquo; 過去の人気エントリー 2006年05月23日</a><br />
<a href="http://arena.nikkeibp.co.jp/col/20060516/116681/" target="_blank" title="Internet Explorer 7ベータ2の不具合からWebデザイン業界の混乱が見えてきた">Internet Explorer 7ベータ2の不具合からWebデザイン業界の混乱が見えてきた</a></p>
<p>このブログでも以前に、<a href="http://8bitodyssey.com/archives/603" title="Internet Explorer 7で使えなくなるCSSハック">Internet Explorer 7で使えなくなるCSSハック</a>でIE7のCSS実装について取り上げましたが、頭の整理のためIE7を取り巻くCSS問題と処方箋についてまとめてみました。</p>
<p style="margin-top: 2em;"><h3>原因</h3>
Internet Explorer6：CSS実装にバグあり＋未対応多数。Quirks modeとか。<br />
Modern Blowser（FireFoxとかSafariとか）：標準的なCSS実装。Standard mode。
→ウェブ製作者：IEだけが解釈するようにCSSハック導入</p>
<p>↓<br />
MS：IE7は標準的なCSSを実装するよ＋ハックは効かなくなるよ(´∀`)</p>
<p>↓<br />
IEハックを放置すると→IE7で見ると表示大崩壊ヽ(;´Д`)ノ<br />
IEハックを削除すると→IE6以前で表示大崩壊ヽ(´Д`;)ノ</p>
<p><h3>処方箋（対策）</h3>
<ol>
<li>IE7なんて消えて無くなれ派→ハックそのまま</li>
<li>IE6以前切捨て派→ハック削除。さっさとインストールしろ</li>
<li>八方美人→IE7でもIE6でもモダンブラウザでも問題ないように書き換える。<br />
    <ul>
        <li>条件付コメント（Conditional Commentsを使う）*1</li>
        <li>IE7ハックを使う*2。但しIE8以降に問題を先延ばしするだけ。</li>
       <li>デザインの制約があっても我慢我慢。</li>
    </ul>
</li>
</ol></p>
<p><h3>*1 条件付コメント（Conditional Comments）を使う</h3>
head内に、<br />
<code style="color: #5dbf2e;font-weight: bold;">&lt;!--[if lt IE 7]&gt;
&lt;style&gt;
...（CSS）...
&lt;/style&gt;
&lt;![endif]--&gt;</code><br />
とすることでIE7未満のブラウザだけが読み込むCSSを設定できる…らしい。IE7正式版が出たら試してみよう…。<br />
参考：<a href="http://www.keynavi.net/ja/bugh/comments.html" target="_blank" title="条件付コメント(Conditional Comments)実験ページ">条件付コメント(Conditional Comments)実験ページ</a></p>
<p><ins datetime="2007-03-15T15:38:10+00:00">2007-03-15追記：条件付コメントはMicrosoft IEチームも積極的には推奨していない手法であることが分かりました。くわしくは<a href="http://8bitodyssey.com/archives/768" title="IE7対策:条件付コメントは使ってはいけない">IE7対策:条件付コメントは使ってはいけない</a>を参照してください。</ins></p>
<p><h3>*2 IE7ハックを使う</h3>
以下のハックを使うことで、特定のバージョンに対してCSSを適用できる。…が将来困るかも。</p>
<blockquote cite="http://nanobox.chipx86.com/blog/2006/04/easy-css-hacks-for-ie7.php" title="Easy CSS hacks for IE7 - Nano See, Nano Do">
参考：<a href="http://nanobox.chipx86.com/blog/2006/04/easy-css-hacks-for-ie7.php" target="_blank" title="Easy CSS hacks for IE7 - Nano See, Nano Do">Easy CSS hacks for IE7 - Nano See, Nano Do</a><br />
IE 6以下<br />
<code style="color: #5dbf2e;font-weight: bold;">* html {}</code><br />
IE 7以下<br />
<code style="color: #5dbf2e;font-weight: bold;">*+html, * html {} </code><br />
IE 7のみ<br />
<code style="color: #5dbf2e;font-weight: bold;">*+html {}</code><br />
IE 7とモダンブラウザのみ<br />
<code style="color: #5dbf2e;font-weight: bold;">html>body {}</code><br />
IE7以外のモダンブラウザのみ<br />
<code style="color: #5dbf2e;font-weight: bold;">html>/**/body </code></blockquote>
<p>Nano See,Nano Doさんのサイトでも書いてあるように、モダンブラウザ向けCSS＋条件付コメントでIE6未満向けCSSを記述…がいまのところベストなのかも。<br />
<span style="font-size: 0.8em;">MSがWindows UpdateとかでせめてIE6のCSSを直してくれれば済む話なのに…ぶつぶつ</span></p><p>&copy; 2012 <a href="http://www.odysseygate.com/" title="Odysseygate.com">Odysseygate.com</a> This Feed is for personal non-commercial use only. If you are not reading this material in your news aggregator, the site you are looking at is guilty of copyright infringement. Please contact odysseygate@gmail.com so we can take legal action immediately.</p><p>鼻からカフェモカ。</p>]]></description>
		<wfw:commentRss>http://8bitodyssey.com/archives/651/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://8bitodyssey.com/archives/651" />
	</item>
	</channel>
</rss>

