<?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:georss="http://www.georss.org/georss" >

<channel>
	<title>unit3s.jp &#187; CSS</title>
	<atom:link href="http://unit3s.jp/category/web/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://unit3s.jp</link>
	<description>The annex of 3S. Writing about my lovin&#039; stuffs, like Kyoto, desgin, photo, aquarium, road bike, etc. Enjoy your stay!</description>
	<lastBuildDate>Wed, 25 Aug 2010 02:23:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Merrow Habaneroにはまる</title>
		<link>http://unit3s.jp/2009/04/01/merrow-habanero%e3%81%ab%e3%81%af%e3%81%be%e3%82%8b-2/</link>
		<comments>http://unit3s.jp/2009/04/01/merrow-habanero%e3%81%ab%e3%81%af%e3%81%be%e3%82%8b-2/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 13:00:59 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Grumet]]></category>
		<category><![CDATA[Kyoto Life]]></category>
		<category><![CDATA[design tech]]></category>
		<category><![CDATA[Kyoto]]></category>
		<category><![CDATA[life]]></category>

		<guid isPermaLink="false">http://unit3s.jp/?p=371</guid>
		<description><![CDATA[先日知恩寺の朝市に行ってきました。今回で３回目ですが、ニッチなものがいっぱいあって最高です。今回もいつもながら凄い人ごみでかき分けるように色んなお店を見て回ってたときに、ふと目にとまったお店にその調味料はありました。
その名もMerrow Habanero
あまり辛いものは苦手なんですが、ハバネロという凶悪なイメージを覆すウマカラなソースにハマりました。

うまし！もう一段階辛いほうを注文してみようかな。
販売：ターンムファーム
]]></description>
		<wfw:commentRss>http://unit3s.jp/2009/04/01/merrow-habanero%e3%81%ab%e3%81%af%e3%81%be%e3%82%8b-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netscape 7.1での背景画像のポジション設定</title>
		<link>http://unit3s.jp/2007/06/13/netscape-71%e3%81%a7%e3%81%ae%e8%83%8c%e6%99%af%e7%94%bb%e5%83%8f%e3%81%ae%e3%83%9d%e3%82%b8%e3%82%b7%e3%83%a7%e3%83%b3%e8%a8%ad%e5%ae%9a/</link>
		<comments>http://unit3s.jp/2007/06/13/netscape-71%e3%81%a7%e3%81%ae%e8%83%8c%e6%99%af%e7%94%bb%e5%83%8f%e3%81%ae%e3%83%9d%e3%82%b8%e3%82%b7%e3%83%a7%e3%83%b3%e8%a8%ad%e5%ae%9a/#comments</comments>
		<pubDate>Wed, 13 Jun 2007 02:30:34 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://unit3s.jp/archives/71</guid>
		<description><![CDATA[色々ブラウザを見て対応していた時、Netscape 7.1でliの背景画像が見えない事に気づき、考えてプロパティを色々変更したり、バグ情報を探していたんですが、どうもbackground-positionを数値て書かないとNetscape 7.1ではポジションが変な事になるらしい。
ということで下記に変更
background:url(&#8220;../images/xxxx.gif&#8221;)? no-repeat right 10px;
を
background:url(&#8220;../images/xxxx.gif&#8221;)? no-repeat 0 10px;
特にpx, %など入れなくても問題なさげでした（表記上は）
]]></description>
		<wfw:commentRss>http://unit3s.jp/2007/06/13/netscape-71%e3%81%a7%e3%81%ae%e8%83%8c%e6%99%af%e7%94%bb%e5%83%8f%e3%81%ae%e3%83%9d%e3%82%b8%e3%82%b7%e3%83%a7%e3%83%b3%e8%a8%ad%e5%ae%9a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clearfixを考えみた .1</title>
		<link>http://unit3s.jp/2007/06/09/clearfix%e3%82%92%e8%80%83%e3%81%88%e3%81%bf%e3%81%9f-1/</link>
		<comments>http://unit3s.jp/2007/06/09/clearfix%e3%82%92%e8%80%83%e3%81%88%e3%81%bf%e3%81%9f-1/#comments</comments>
		<pubDate>Sat, 09 Jun 2007 09:02:10 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://unit3s.jp/archives/68</guid>
		<description><![CDATA[作成時によく使っている魔法の呪文の様に思われているclearfixを考えてみた。
clearfixは言わずも知れたPosition Is Everythingから編み出されたモダンブラウザのfloat問題を解決する為に生まれたCSS記述方式だが、色々調べるとそれぞれの考えかたでちょこちょこ記述が違うので自分でテストした中でこれかなと思ったものを覚え書き。
norisfactoryさんのclearfixの決定版を作る ?モダンブラウザ編ーを参考にさせて頂きました。
Position Is Everythingオリジナル
 clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden; }
.clearfix {display: inline-block;}
/* Hides from IE-mac ¥*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
自分の中での修正版、その一
ちなみに 最初は
clearfix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
font-size:0.1px;
line-height:0;}
としていたんですが、win NN7.1では隙間が出来てしまいました。う〜ん。
そして変更後はこちら
clearfix:after {
content: " ";
display: block;
height: 0;
clear: both;
visibility: hidden;} 
.clearfix {display: inline-block;}
/* Hides from IE-mac ¥*/
* html .clearfix [...]]]></description>
		<wfw:commentRss>http://unit3s.jp/2007/06/09/clearfix%e3%82%92%e8%80%83%e3%81%88%e3%81%bf%e3%81%9f-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6~IE7のHackまとめ</title>
		<link>http://unit3s.jp/2007/02/16/ie6ie7%e3%81%aehack%e3%81%be%e3%81%a8%e3%82%81/</link>
		<comments>http://unit3s.jp/2007/02/16/ie6ie7%e3%81%aehack%e3%81%be%e3%81%a8%e3%82%81/#comments</comments>
		<pubDate>Fri, 16 Feb 2007 02:43:03 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[tech]]></category>

		<guid isPermaLink="false">http://unit3s.jp/archives/65</guid>
		<description><![CDATA[ふと思ってIE Hackまとめをしてみました。ググれば色々あると思いますが、個人的備忘録として。。。
IE6〜以前用Hack
*html セレクタ/id名/class名 { }
IE7用Hack
*+html セレクタ/id名/class名 { }
*:first-child+html セレクタ/id名/class名 { }
IE 7を含むモダンブラウザのみ
html>body セレクタ/id名/class名 { }
IE 7以外のモダンブラウザ(FireFox, Safari, Operaなど)のみ
html>/**/body セレクタ/id名/class名 { }
IE全部まとめて
*+html セレクタ/id名/class名, *html セレクタ/id名/class名 { }
より詳しい説明はここを確認。
http://www.webdevout.net/css-hacks 
この中の「in-CSS hacks」が参考になりますが、全部まとめて勉強になります。
【追記：2009:04:21】
非常にこのページにアクセスが多いのでなぜかと調べたらgoogleで「ie hack」と入れると上位に出てきてしまう状態でした。ですが内容が非常に貧弱な記事にこんなにアクセスして頂くのも申し訳ないので上記の内容については追記を、ここからは加筆になります。
基本、IE Hack自体を使わないように心がけているんですが、必要に応じて別CSSやjsをを特定のIEのバージョンに合わせて読み込ませる「コンディショナルコメント」（互換モード）を使用しています。主要な用途としては外部ファイルを読み込ませるケースが多いと思いますが、これはページ内に直接javascriptを記述したりする際に使うことももちろんできます。
別ファイルを用意しなければならないという煩わしさもあると思いますが、今後の事を考えるとhack自体どこまで使えるのか疑問なのでこちらを使用したほうがいいと思います。
コンディショナルコメントのすすめ
基本的には下記のコメントアウトの中にIE用のexpressionを記述してバージョンを指定するだけです。
&#60;!&#8211;[if expression]&#62; 記述したい内容はこちら。外部ファイルでもhtmlでもjs直書きでもオッケーです&#60;![endif]&#8211;&#62;
例えばIEのバージョンにかかわらずIEのみに特定のファイルを読み込ませたい場合は下記の&#60;!&#8211;[if IE ]&#62;〜&#60;![endif]&#8211;&#62; を使用します。
【例】

&#60;!--[if IE ]&#62;
&#60;link href="ie-only.css" rel="stylesheet" type="text/css"&#62;
&#60;script src="ie-only.js" type="text/javascript"&#62;&#60;/script&#62;
&#60;p&#62;こんな風にIEのみで表示できる文章もいれる事ができます。&#60;/p&#62;
&#60;![endif]--&#62;

ここでIEの特定のバージョンに特定のファイルを読み込ませたい場合は&#60;!&#8211;[if IE ]&#62; の部分を下記の様な記述をする事になります。
IE7の場合・・・&#60;!&#8211;[if IE 7]&#62;
IE6の場合・・・&#60;!&#8211;[if IE 6]&#62;
IE5.5の場合・・・&#60;!&#8211;[if IE 5.5]&#62;
IE5の場合・・・&#60;!&#8211;[if IE 5]&#62;
読み込ませる箇所を振り分けたい場合は下記の様に2重で記述する必要があります。

&#60;!--[if lte IE [...]]]></description>
		<wfw:commentRss>http://unit3s.jp/2007/02/16/ie6ie7%e3%81%aehack%e3%81%be%e3%81%a8%e3%82%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MAC IE用ハックとFireFox対応</title>
		<link>http://unit3s.jp/2007/01/15/mac-ie%e7%94%a8%e3%83%8f%e3%83%83%e3%82%af%e3%81%a8firefox%e5%af%be%e5%bf%9c/</link>
		<comments>http://unit3s.jp/2007/01/15/mac-ie%e7%94%a8%e3%83%8f%e3%83%83%e3%82%af%e3%81%a8firefox%e5%af%be%e5%bf%9c/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 09:04:41 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://unit3s.jp/archives/59</guid>
		<description><![CDATA[
FireFoxでは半角英数字で長文を書くと表示が改行されないバグがある。
問題の解消は基本的にCSSではできない。ブラウザ自体のバグであり、
Firefoxソフトそのものをハックしないといけないのでこちら側での
対処はできないと思います。最終手段としてテーブル組にするか、CSSでoverflowを使用して
はみ出る部分を非表示する事で、体裁を整える方法を記載しておきます。
普通にoverflowを使用すると今度はMac IEでこのoverflowを使用した
ブロックが丸ごと消えるバグがあるので、下記の方法で対処。?
Holly Hack
Mac IE 5のみにスタイルを除外
/* Not for Mac IE 5.x ?*/
overflow:hidden;
/* For other browser */
別にMac IE 5のみにスタイルを適用方法もある。
/* for Mac IE 5.x Only ?*//*/
overflow:hidden;
/* For other browser */
word-break:break-all;、word-break:keep-all;
はIEにしか働かないので、FireFoxやネスケでは要注意。

]]></description>
		<wfw:commentRss>http://unit3s.jp/2007/01/15/mac-ie%e7%94%a8%e3%83%8f%e3%83%83%e3%82%af%e3%81%a8firefox%e5%af%be%e5%bf%9c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>スターハック</title>
		<link>http://unit3s.jp/2007/01/15/%e3%82%b9%e3%82%bf%e3%83%bc%e3%83%8f%e3%83%83%e3%82%af/</link>
		<comments>http://unit3s.jp/2007/01/15/%e3%82%b9%e3%82%bf%e3%83%bc%e3%83%8f%e3%83%83%e3%82%af/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 09:04:08 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://unit3s.jp/archives/58</guid>
		<description><![CDATA[
Windows IE 4〜6、Mac IE 4〜5のみに適用する場合に使用。
適用したいセレクタの前に&#8221; * html &#8221; を付ける。?
*html #container{
width: 540px;
margin:0 0 0 195px;
padding:0;
}
など

]]></description>
		<wfw:commentRss>http://unit3s.jp/2007/01/15/%e3%82%b9%e3%82%bf%e3%83%bc%e3%83%8f%e3%83%83%e3%82%af/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>アンダースコアハック</title>
		<link>http://unit3s.jp/2007/01/15/%e3%82%a2%e3%83%b3%e3%83%80%e3%83%bc%e3%82%b9%e3%82%b3%e3%82%a2%e3%83%8f%e3%83%83%e3%82%af/</link>
		<comments>http://unit3s.jp/2007/01/15/%e3%82%a2%e3%83%b3%e3%83%80%e3%83%bc%e3%82%b9%e3%82%b3%e3%82%a2%e3%83%8f%e3%83%83%e3%82%af/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 09:03:22 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://unit3s.jp/archives/57</guid>
		<description><![CDATA[
Windows IE 4〜6のみに適用する場合に使用するが、W3CのValidatorには通らない。
使用はできるだけ避けましょう。?
これを使用するならスターハックを使用して、別書きしたほうがいいと思われます。
#container{
_width: 560px;　←これがWindows IE 4〜6のみに対応する
width: 540px;　←Windows IE 4〜6以外に対応
}

]]></description>
		<wfw:commentRss>http://unit3s.jp/2007/01/15/%e3%82%a2%e3%83%b3%e3%83%80%e3%83%bc%e3%82%b9%e3%82%b3%e3%82%a2%e3%83%8f%e3%83%83%e3%82%af/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>floatでの問題の解決</title>
		<link>http://unit3s.jp/2007/01/15/float%e3%81%a7%e3%81%ae%e5%95%8f%e9%a1%8c%e3%81%ae%e8%a7%a3%e6%b1%ba/</link>
		<comments>http://unit3s.jp/2007/01/15/float%e3%81%a7%e3%81%ae%e5%95%8f%e9%a1%8c%e3%81%ae%e8%a7%a3%e6%b1%ba/#comments</comments>
		<pubDate>Mon, 15 Jan 2007 09:02:24 +0000</pubDate>
		<dc:creator>3S</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://unit3s.jp/archives/56</guid>
		<description><![CDATA[
floatを多用する時、下記のソースを使用する事により、不具合を解消した部分が多くあるので、記載しておきます。.clearfixはセレクタ名なので、そのセレクタに対応する名前を使用することfloatさせたボックスが外にはみ出すのを避ける為には。。。?
.clearfix:after {
content: &#8220;.&#8221;;
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.clearfix {display: inline-block;}
/* Hides from IE-mac ?*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
オリジナル情報はこちら
http://www.positioniseverything.net/easyclearing.html

]]></description>
		<wfw:commentRss>http://unit3s.jp/2007/01/15/float%e3%81%a7%e3%81%ae%e5%95%8f%e9%a1%8c%e3%81%ae%e8%a7%a3%e6%b1%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
