<?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/"
	>

<channel>
	<title>macaroni-works notes&#187; CSS</title>
	<atom:link href="http://blog.macaroniworks.net/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.macaroniworks.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 16 Feb 2011 07:27:11 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>HTML CSS イメージ要素の隙間について</title>
		<link>http://blog.macaroniworks.net/2010/08/html-css-%e3%82%a4%e3%83%a1%e3%83%bc%e3%82%b8%e8%a6%81%e7%b4%a0%e3%81%ae%e9%9a%99%e9%96%93%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/</link>
		<comments>http://blog.macaroniworks.net/2010/08/html-css-%e3%82%a4%e3%83%a1%e3%83%bc%e3%82%b8%e8%a6%81%e7%b4%a0%e3%81%ae%e9%9a%99%e9%96%93%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 04:45:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[img]]></category>
		<category><![CDATA[隙間]]></category>

		<guid isPermaLink="false">http://blog.macaroniworks.net/?p=1377</guid>
		<description><![CDATA[イメージ要素の隙間についてはいつも #sample img { display:block; } として回避していましたが、 #saple img { vertical-align:bottom; height:100px; } とするやり方もあるようです。 heightは無理にいれなくてもよさそうです。 imgを強引にblock要素にするよりは素直っぽいです。 これからはvertical-align:bottom;を使っていきます。 勉強になりました。]]></description>
			<content:encoded><![CDATA[<p>イメージ要素の隙間についてはいつも</p>
<pre class="brush:css">
#sample img {
 display:block;
}
</pre>
<p>として回避していましたが、</p>
<pre class="brush:css">
#saple img {
  vertical-align:bottom;
  height:100px;
}
</pre>
<p>とするやり方もあるようです。</p>
<p>heightは無理にいれなくてもよさそうです。<br />
imgを強引にblock要素にするよりは素直っぽいです。</p>
<p>これからはvertical-align:bottom;を使っていきます。</p>
<p>勉強になりました。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaroniworks.net/2010/08/html-css-%e3%82%a4%e3%83%a1%e3%83%bc%e3%82%b8%e8%a6%81%e7%b4%a0%e3%81%ae%e9%9a%99%e9%96%93%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS 0に単位はいらいない！？</title>
		<link>http://blog.macaroniworks.net/2010/06/css-0%e3%81%ab%e5%8d%98%e4%bd%8d%e3%81%af%e3%81%84%e3%82%89%e3%81%84%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%9f/</link>
		<comments>http://blog.macaroniworks.net/2010/06/css-0%e3%81%ab%e5%8d%98%e4%bd%8d%e3%81%af%e3%81%84%e3%82%89%e3%81%84%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%9f/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 02:58:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.macaroniworks.net/?p=1343</guid>
		<description><![CDATA[0pxなどの場合は、単位を省いてもいいようです。 ずっとぼんやりしてましたが、今日からつけません。 p { margin : 0; padding : 0; }]]></description>
			<content:encoded><![CDATA[<p>0pxなどの場合は、単位を省いてもいいようです。<br />
ずっとぼんやりしてましたが、今日からつけません。</p>
<pre class="brush:css">
p {
 margin : 0;
 padding : 0;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaroniworks.net/2010/06/css-0%e3%81%ab%e5%8d%98%e4%bd%8d%e3%81%af%e3%81%84%e3%82%89%e3%81%84%e3%81%aa%e3%81%84%ef%bc%81%ef%bc%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS IEのデフォルトスタイル</title>
		<link>http://blog.macaroniworks.net/2010/03/css-ie%e3%81%ae%e3%83%87%e3%83%95%e3%82%a9%e3%83%ab%e3%83%88%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab/</link>
		<comments>http://blog.macaroniworks.net/2010/03/css-ie%e3%81%ae%e3%83%87%e3%83%95%e3%82%a9%e3%83%ab%e3%83%88%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 02:48:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://blog.macaroniworks.net/?p=1257</guid>
		<description><![CDATA[http://www.iecss.com/ なにかのエントリーで見ましたが、IEのデフォルトのスタイルがまとめられていました。 これといって役立ちそうなところはないですが、とりあえず。]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.iecss.com/">http://www.iecss.com/</a></p>
<p>なにかのエントリーで見ましたが、IEのデフォルトのスタイルがまとめられていました。<br />
これといって役立ちそうなところはないですが、とりあえず。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaroniworks.net/2010/03/css-ie%e3%81%ae%e3%83%87%e3%83%95%e3%82%a9%e3%83%ab%e3%83%88%e3%82%b9%e3%82%bf%e3%82%a4%e3%83%ab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3 テキストの選択色を指定する。これもcss3か！</title>
		<link>http://blog.macaroniworks.net/2010/03/css3-%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%81%ae%e9%81%b8%e6%8a%9e%e8%89%b2%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%99%e3%82%8b%e3%80%82%e3%81%93%e3%82%8c%e3%82%82css3%e3%81%8b%ef%bc%81/</link>
		<comments>http://blog.macaroniworks.net/2010/03/css3-%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%81%ae%e9%81%b8%e6%8a%9e%e8%89%b2%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%99%e3%82%8b%e3%80%82%e3%81%93%e3%82%8c%e3%82%82css3%e3%81%8b%ef%bc%81/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 03:16:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[::-moz-selection]]></category>
		<category><![CDATA[::selection]]></category>

		<guid isPermaLink="false">http://blog.macaroniworks.net/?p=1222</guid>
		<description><![CDATA[とあるサイトで、選択したテキストの背景がサイトのデザインと マッチしていて素晴らしいなと感じました。 ソースを見て行くと ::selection{} ::-moz-selection {} とありました。 これで指定するんですね。 Mozilla の独自拡張は使うべきではないらしいのですが。 http://www.mozilla.gr.jp/standards/webtips0001.html#c1]]></description>
			<content:encoded><![CDATA[<p>とあるサイトで、選択したテキストの背景がサイトのデザインと<br />
マッチしていて素晴らしいなと感じました。</p>
<p>ソースを見て行くと</p>
<pre class="brush:css">
::selection{}
::-moz-selection {}
</pre>
<p>とありました。<br />
これで指定するんですね。</p>
<p>Mozilla の独自拡張は使うべきではないらしいのですが。</p>
<p>http://www.mozilla.gr.jp/standards/webtips0001.html#c1</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaroniworks.net/2010/03/css3-%e3%83%86%e3%82%ad%e3%82%b9%e3%83%88%e3%81%ae%e9%81%b8%e6%8a%9e%e8%89%b2%e3%82%92%e6%8c%87%e5%ae%9a%e3%81%99%e3%82%8b%e3%80%82%e3%81%93%e3%82%8c%e3%82%82css3%e3%81%8b%ef%bc%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cssのborderショートハンド</title>
		<link>http://blog.macaroniworks.net/2009/06/css%e3%81%aeborder%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%8f%e3%83%b3%e3%83%89/</link>
		<comments>http://blog.macaroniworks.net/2009/06/css%e3%81%aeborder%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%8f%e3%83%b3%e3%83%89/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 15:06:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[border]]></category>

		<guid isPermaLink="false">http://blog.macaroniworks.net/?p=358</guid>
		<description><![CDATA[ホントに知らない事って多いんですね。 /*ボーダーの幅設定*/ border-width: 2px 3px 1px 2px; border-style:dotted solid solid dotted; border-color: red #999 red #0c5633; /*こんな書き方も*/ border-right-color: #999; border-bottom-color: red; border-left-color: #0c5633;]]></description>
			<content:encoded><![CDATA[<p>ホントに知らない事って多いんですね。</p>
<pre class="brush:css">
/*ボーダーの幅設定*/
border-width: 2px 3px 1px 2px;
border-style:dotted solid solid dotted;
border-color: red #999 red #0c5633;

/*こんな書き方も*/
border-right-color: #999;
border-bottom-color: red;
border-left-color: #0c5633;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaroniworks.net/2009/06/css%e3%81%aeborder%e3%82%b7%e3%83%a7%e3%83%bc%e3%83%88%e3%83%8f%e3%83%b3%e3%83%89/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>!important</title>
		<link>http://blog.macaroniworks.net/2009/05/important/</link>
		<comments>http://blog.macaroniworks.net/2009/05/important/#comments</comments>
		<pubDate>Sat, 23 May 2009 15:20:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[!important]]></category>
		<category><![CDATA[syntaxhighlighter]]></category>

		<guid isPermaLink="false">http://blog.macaroniworks.net/?p=239</guid>
		<description><![CDATA[Style sheet designers can increase the weights of their declarations: H1 { color: black ! important; background: white ! important } P { font-size: 12pt ! important; font-style: italic } In the example above, the first three declarations have increased weight, while the last declaration has normal weight. A reader rule with an important declaration [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>
Style sheet designers can increase the weights of their declarations:</p>
<pre class="brush:css;toolbar:false">
H1 { color: black ! important; background: white ! important }
P  { font-size: 12pt ! important; font-style: italic }
</pre>
<p>In the example above, the first three declarations have increased weight, while the last declaration has normal weight.</p>
<p>A reader rule with an important declaration will override an author rule with a normal declaration. An author rule with an important declaration will override a reader rule with an important declaration.</p></blockquote>
<p><a href="http://www.w3.org/TR/REC-CSS1/#important">http://www.w3.org/TR/REC-CSS1/#important</a></p>
<p>要するに、! importantがある属性は、後からのオーバーライドを無視します<br />
といった内容だと。</p>
<p>syntaxhighlighterのCSSを変更しようと試みたときにふと気づきました。<br />
!importantってなんじゃらほいと。<br />
よくみるのですが、CSSをずいぶんおざなりにしていたせいでしょうか。<br />
すっかり存じ上げませんでした。</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.macaroniworks.net/2009/05/important/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

