<?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>Branberyheag!! Lab &#187; CSS</title>
	<atom:link href="http://lab.branberyheag.com/category/css/feed" rel="self" type="application/rss+xml" />
	<link>http://lab.branberyheag.com</link>
	<description>ActionScript3.0やJavascriptを使っていろんなものを作ってみます。</description>
	<lastBuildDate>Fri, 03 Feb 2012 06:28:02 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://lab.branberyheag.com/?pushpress=hub'/>
		<item>
		<title>Bootstrapがいい感じ。</title>
		<link>http://lab.branberyheag.com/2012/01/21/bootstrap%e3%81%8c%e3%81%84%e3%81%84%e6%84%9f%e3%81%98%e3%80%82.html</link>
		<comments>http://lab.branberyheag.com/2012/01/21/bootstrap%e3%81%8c%e3%81%84%e3%81%84%e6%84%9f%e3%81%98%e3%80%82.html#comments</comments>
		<pubDate>Fri, 20 Jan 2012 15:46:23 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1170</guid>
		<description><![CDATA[これ、使えるなと思ったので、メモ。 Bootstrapは、Twitterの謹製オープンソースフレームワークなんだけど、とても使えそう。 Webアプリとかさくっと作りたいときに使うといいのかも。 デザインセンスがない俺でも [...]]]></description>
			<content:encoded><![CDATA[<p>これ、使えるなと思ったので、メモ。</p>
<p><span id="more-1170"></span></p>
<p>Bootstrapは、Twitterの謹製オープンソースフレームワークなんだけど、とても使えそう。<br />
Webアプリとかさくっと作りたいときに使うといいのかも。</p>
<p>デザインセンスがない俺でも使えそう。「すきなばしょ」に使おうかな。。。</p>
<p>Moogiftさんの記事<br />
<a href="http://www.moongift.jp/2011/09/20110901-2/">http://www.moongift.jp/2011/09/20110901-2/</a></p>
<p>Bootstrap Image Gallery<br />
<a href="http://blueimp.github.com/Bootstrap-Image-Gallery/">http://blueimp.github.com/Bootstrap-Image-Gallery/</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/07/12/jquery%e3%83%97%e3%83%a9%e3%82%b0%e3%82%a4%e3%83%b3skroll-js%e3%80%8d.html" rel="bookmark" title="2011年7月12日">JQueryプラグイン「skroll.js」</a></li>
<li><a href="http://lab.branberyheag.com/2011/12/22/proceesing-js%e3%81%8c%e4%bd%95%e6%b0%97%e3%81%ab%e9%9d%a2%e7%99%bd%e3%81%84.html" rel="bookmark" title="2011年12月22日">Proceesing.jsが何気に面白い</a></li>
<li><a href="http://lab.branberyheag.com/2011/04/26/google-maps-api-v3%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6%e4%b9%85%e3%81%97%e3%81%b6%e3%82%8a%e3%81%ab%e8%aa%bf%e3%81%b9%e3%81%a6%e3%81%bf%e3%81%9f.html" rel="bookmark" title="2011年4月26日">Google Maps API V3が面白い！</a></li>
<li><a href="http://lab.branberyheag.com/2009/08/09/how-to_javascript.html" rel="bookmark" title="2009年8月9日">Java Scriptの覚え方</a></li>
<li><a href="http://lab.branberyheag.com/2010/07/17/wordpress3-0_templte.html" rel="bookmark" title="2010年7月17日">WordPress3.0にバージョンアップしたら、テンプレートJavascriptエラーになった</a></li>
</ul>
<p><!-- Similar Posts took 3.071 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2012/01/21/bootstrap%e3%81%8c%e3%81%84%e3%81%84%e6%84%9f%e3%81%98%e3%80%82.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>画像にbase64をかけてhtmlやCSSに埋め込む</title>
		<link>http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html</link>
		<comments>http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html#comments</comments>
		<pubDate>Wed, 26 Oct 2011 01:31:34 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[memo]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1120</guid>
		<description><![CDATA[画像にbase64（Data URIs）をかけてHTMLやCSSに埋め込む方法って、知らなかった。。。HTTPリクエストを減らせるので、軽量化に役に立ちそうだったので、メモ。 と書いていたものを と書けるようだ。 オンラ [...]]]></description>
			<content:encoded><![CDATA[<p>画像にbase64（Data URIs）をかけてHTMLやCSSに埋め込む方法って、知らなかった。。。HTTPリクエストを減らせるので、軽量化に役に立ちそうだったので、メモ。</p>
<p><span id="more-1120"></span></p>
<pre class="brush: xml; title: ; notranslate">

&lt;img src=&quot;http://hogehoge.jp/hoge.png&quot;&gt;
</pre>
<p>と書いていたものを</p>
<pre class="brush: xml; title: ; notranslate">

&lt;img src=&quot;data:image/png;base64,iVBORw0KGgo....&quot;&gt;
</pre>
<p>と書けるようだ。</p>
<p>オンラインツールでひとつひとつ変換するのもいいけど、PHPで変換すればアップロードのみで対応ができそう。</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
$img = file_get_contents( 'http://hogehoge.jp/hoge.png' );
if ( $img !== false ) {
$img = base64_encode( $img );
}
?&gt;
</pre>
<p>上記はあくまでもサンプルだけど、これを関数にしてhtmlに埋め込んで、base64にしてキャッシュすればかなり軽量化されるかもしれない。<br />
未検証だけど・・・</p>
<p>「&lt;img src=&#8221;data:image/png;」のpngの部分を適宜変える必要があるので、下記のような判定が必要。</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php
...
static protected function getDataType( $img_link ) {
switch( exif_imagetype( $img_link ) ) {
case IMAGETYPE_GIF      : $res = &quot;gif&quot;; break;
case IMAGETYPE_JPEG     : $res = &quot;jpg&quot;; break;
case IMAGETYPE_PNG      : $res = &quot;png&quot;; break;
//          case IMAGETYPE_SWF      : $res = &quot;&quot;; break;
//          case IMAGETYPE_PSD      : $res = &quot;&quot;; break;
//          case IMAGETYPE_BMP      : $res = &quot;&quot;; break;
//          case IMAGETYPE_TIFF_II  : $res = &quot;&quot;; break;
//          case IMAGETYPE_TIFF_MM  : $res = &quot;&quot;; break;
//          case IMAGETYPE_JPC      : $res = &quot;&quot;; break;
//          case IMAGETYPE_JP2      : $res = &quot;&quot;; break;
//          case IMAGETYPE_JPX      : $res = &quot;&quot;; break;
//          case IMAGETYPE_JB2      : $res = &quot;&quot;; break;
//          case IMAGETYPE_SWC      : $res = &quot;&quot;; break;
//          case IMAGETYPE_IFF      : $res = &quot;&quot;; break;
//          case IMAGETYPE_WBMP     : $res = &quot;&quot;; break;
//          case IMAGETYPE_XBM      : $res = &quot;&quot;; break;
default : $res = false;
}
return $res;
}
?&gt;
</pre>
<p>オンラインツールもあるので、これもメモ。</p>
<p>Image to data URI convertor<br />
<a href="http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/">http://websemantics.co.uk/online_tools/image_to_data_uri_convertor/</a></p>
<p>WordPressテンプレートやWebサービスを作るときに役に立つと思う。</p>
<p><strong>参考にしたサイト</strong></p>
<ul>
<li><a href="http://d.hatena.ne.jp/moogme/20090814/p3">http://d.hatena.ne.jp/moogme/20090814/p3</a></li>
<li><a href="http://kaworu.jpn.org/kaworu/2008-04-06-1.php">http://kaworu.jpn.org/kaworu/2008-04-06-1.php</a></li>
<li><a href="http://tokkono.cute.coocan.jp/blog/slow/index.php/xhtmlcss/reduce-http-requests-using-data-uris/">http://tokkono.cute.coocan.jp/blog/slow/index.php/xhtmlcss/reduce-http-requests-using-data-uris/</a></li>
<li><a href="http://css-tricks.com/5970-data-uris/">http://css-tricks.com/5970-data-uris/</a></li>
</ul>
<p><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/12/22/proceesing-js%e3%81%8c%e4%bd%95%e6%b0%97%e3%81%ab%e9%9d%a2%e7%99%bd%e3%81%84.html" rel="bookmark" title="2011年12月22日">Proceesing.jsが何気に面白い</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/30/jquery-deferred%e3%81%a3%e3%81%a6%e3%81%aa%e3%82%93%e3%81%a8%e3%81%aa%e3%81%8f%e4%be%bf%e5%88%a9%e3%81%ae%e3%82%88%e3%81%86%e3%81%aa%e6%b0%97%e3%81%8c%e3%81%99%e3%82%8b.html" rel="bookmark" title="2011年9月30日">jQuery.Deferredってなんとなく便利のような気がする</a></li>
<li><a href="http://lab.branberyheag.com/2010/08/18/twitter_image_url.html" rel="bookmark" title="2010年8月18日">twitterの画像のURLを取得する</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/12/html5%e3%81%ae%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e5%b1%9e%e6%80%a7%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2011年9月12日">HTML5のカスタム属性について</a></li>
<li><a href="http://lab.branberyheag.com/2011/05/24/flexftp.html" rel="bookmark" title="2011年5月24日">FlexFTP</a></li>
</ul>
<p><!-- Similar Posts took 3.421 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS3アニメーションナビゲーションサンプル</title>
		<link>http://lab.branberyheag.com/2011/10/26/css3%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab.html</link>
		<comments>http://lab.branberyheag.com/2011/10/26/css3%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab.html#comments</comments>
		<pubDate>Tue, 25 Oct 2011 23:59:16 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[memo]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1118</guid>
		<description><![CDATA[CSS3アニメーションを使ったナビゲーションのサンプルで良い感じものがあったので、メモ。 http://tympanus.net/Tutorials/CreativeCSS3AnimationMenus/index.ht [...]]]></description>
			<content:encoded><![CDATA[<p>CSS3アニメーションを使ったナビゲーションのサンプルで良い感じものがあったので、メモ。</p>
<p><a href="http://tympanus.net/Tutorials/CreativeCSS3AnimationMenus/index.html">http://tympanus.net/Tutorials/CreativeCSS3AnimationMenus/index.html</a></p>
<p>JavaScriptを使わずにここまでアニメーションができると、もっと面白い表現ができるかもと思ってしまう。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/09/28/google-maps-api%e3%81%a7%e3%83%9e%e3%83%bc%e3%82%ab%e3%83%bc%e3%81%abgif%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%8c%e5%8b%95%e3%81%8b%e3%81%aa%e3%81%8f%e3%81%aa%e3%82%8b.html" rel="bookmark" title="2011年9月28日">Google Maps APIでマーカーにGIFアニメーションが動かなくなるのを防ぐ方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/06/23/raphael-js%e3%81%a7%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3.html" rel="bookmark" title="2011年6月23日">Raphael.jsでアニメーション</a></li>
<li><a href="http://lab.branberyheag.com/2010/03/24/css3_summary.html" rel="bookmark" title="2010年3月24日">CSS3を先行実装しているプロパティまとめ</a></li>
<li><a href="http://lab.branberyheag.com/2010/12/20/%e3%80%8caction-script3-0%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%80%8d%e3%82%92%e8%b2%b7%e3%81%a3%e3%81%9f.html" rel="bookmark" title="2010年12月20日">「Action Script3.0アニメーション」を買った</a></li>
<li><a href="http://lab.branberyheag.com/2010/04/15/flex%e3%81%a7%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3.html" rel="bookmark" title="2010年4月15日">Flexでアニメーション</a></li>
</ul>
<p><!-- Similar Posts took 3.534 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/10/26/css3%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSSで背景にPNG画像使ったときのIE6対応の注意点</title>
		<link>http://lab.branberyheag.com/2011/05/19/css%e3%81%a7%e8%83%8c%e6%99%af%e3%81%abpng%e7%94%bb%e5%83%8f%e4%bd%bf%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%aeie6%e5%af%be%e5%bf%9c%e3%81%ae%e6%b3%a8%e6%84%8f%e7%82%b9.html</link>
		<comments>http://lab.branberyheag.com/2011/05/19/css%e3%81%a7%e8%83%8c%e6%99%af%e3%81%abpng%e7%94%bb%e5%83%8f%e4%bd%bf%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%aeie6%e5%af%be%e5%bf%9c%e3%81%ae%e6%b3%a8%e6%84%8f%e7%82%b9.html#comments</comments>
		<pubDate>Thu, 19 May 2011 07:04:32 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1025</guid>
		<description><![CDATA[あるプロジェクトでIE6対応でCSSのbackgroundでPNGを使わないといけなかった時に、いろんな方法があるが、 IEの独自拡張。Direct Xで実現する方法で実装することにした。 このほうがシンプルだったため。 [...]]]></description>
			<content:encoded><![CDATA[<p>あるプロジェクトでIE6対応でCSSのbackgroundでPNGを使わないといけなかった時に、いろんな方法があるが、</p>
<p><span id="more-1025"></span></p>
<pre class="brush: css; title: ; notranslate">

.hoge {

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(&lt;strong&gt;src=&quot;./overlay.png&quot;&lt;/strong&gt;, sizingMethod=&quot;scale&quot;);

}
</pre>
<p>IEの独自拡張。Direct Xで実現する方法で実装することにした。<br />
このほうがシンプルだったため。</p>
<p>背景は透過になったのだが、aタグが効かなくなってしまった。<br />
えっ？！と思って、調べてみるとどうやらaがこのプロパティ適用内で使われているとリンク自体が効かなくなる現象があるようだ。</p>
<p>対処方法として、「<code>position: relative;</code>」と「<code>z-index</code>」を使い、適用内にもうひとつdivを作ってそこに適用させることで対処できるみたい。<br />
※具体的な対処方法はない。</p>
<p>導入の簡単な「<a href="http://www.dillerdesign.com/experiment/DD_belatedPNG/">DD_belatedPNG</a>」がおすすめ。</p>
<pre class="brush: xml; title: ; notranslate">

&lt;!--[if IE 6]&gt;
&lt;script src=&quot;js/DD_belatedPNG.js&quot;&gt;&lt;/script&gt;
&lt;script&gt;
 DD_belatedPNG.fix('#hoge');
&lt;/script&gt;
&lt;![endif]--&gt;
</pre>
<p>「#hoge」の部分は、適用したidまたはclassを指定してあげるだけ。<br />
とても簡単なんだけど、これもCSSの設計時に留意しなくちゃいけないのが、時々レンダリングが遅れて、とんでもないところにその要素が配置されることがあった。<br />
ウィンドウサイズを大きくしたり小さくしたりすると治る。導入の際には、注意が必要かも。<a href="http://archiva.jp/web/html-css/alpha-channel_on_ie.html"></a></p>
<p>参考サイト<a href="http://archiva.jp/web/html-css/alpha-channel_on_ie.html"><br />
IE-winで透過PNGを利用する方法</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2011/04/23/dd_belatedpng%e3%81%8c%e8%83%8c%e6%99%af%e3%81%8c%e9%81%95%e3%81%86%e4%bd%8d%e7%bd%ae%e3%81%ab%e3%81%aa%e3%81%a3%e3%81%a6%e3%81%97%e3%81%be%e3%81%a3%e3%81%9f%e3%80%82.html" rel="bookmark" title="2011年4月23日">DD_belatedPNGが背景が違う位置になってしまった。</a></li>
<li><a href="http://lab.branberyheag.com/2009/11/25/safari%e3%81%a7html%e4%b8%8a%e3%81%ab%e7%94%bb%e5%83%8f%e3%82%b5%e3%82%a4%e3%82%ba%e3%82%92%e5%8f%96%e5%be%97%e3%81%99%e3%82%8b%e9%9a%9b%e3%81%ae%e6%b3%a8%e6%84%8f%e7%82%b9.html" rel="bookmark" title="2009年11月25日">safariでHTML上に画像サイズを取得する際の注意点</a></li>
<li><a href="http://lab.branberyheag.com/2011/05/19/javascript%e3%81%ae%e9%85%8d%e5%88%97%e3%82%92%e7%a9%ba%e3%81%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95.html" rel="bookmark" title="2011年5月19日">Javascriptの配列を空にする方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/11/01/javascript%e3%81%a7%e8%a4%87%e6%95%b0%e3%81%ae%e6%88%bb%e3%82%8a%e5%80%a4%e3%82%92%e8%bf%94%e3%81%99%e6%96%b9%e6%b3%95.html" rel="bookmark" title="2011年11月1日">Javascriptで複数の戻り値を返す方法</a></li>
<li><a href="http://lab.branberyheag.com/2011/08/14/%e3%81%8a%e4%bb%95%e4%ba%8b%e7%94%a8%e3%82%b5%e3%82%a4%e3%83%88%e3%80%8cbranberyheag-jp%e3%80%8d%e3%82%92%e3%83%ad%e3%83%bc%e3%83%b3%e3%83%81%e3%81%97%e3%81%be%e3%81%97%e3%81%9f%e3%80%9c.html" rel="bookmark" title="2011年8月14日">お仕事用サイト「Branberyheag!!.jp」をローンチしました〜</a></li>
</ul>
<p><!-- Similar Posts took 3.878 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/05/19/css%e3%81%a7%e8%83%8c%e6%99%af%e3%81%abpng%e7%94%bb%e5%83%8f%e4%bd%bf%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%aeie6%e5%af%be%e5%bf%9c%e3%81%ae%e6%b3%a8%e6%84%8f%e7%82%b9.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE7でのz-indexの解釈</title>
		<link>http://lab.branberyheag.com/2011/05/11/ie7%e3%81%a7%e3%81%aez-index%e3%81%ae%e8%a7%a3%e9%87%88.html</link>
		<comments>http://lab.branberyheag.com/2011/05/11/ie7%e3%81%a7%e3%81%aez-index%e3%81%ae%e8%a7%a3%e9%87%88.html#comments</comments>
		<pubDate>Wed, 11 May 2011 09:34:37 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=1021</guid>
		<description><![CDATA[モルダルウィンドウをJavaScriptで作る際に、z-indexはよく使うと思う。 IE7だけこのz-indexの解釈の仕方が違うようだった。通常は、z-indexをどこの階層の要素を指定してもその順番が守られる。IE [...]]]></description>
			<content:encoded><![CDATA[<p>モルダルウィンドウをJavaScriptで作る際に、z-indexはよく使うと思う。</p>
<p><span id="more-1021"></span></p>
<p>IE7だけこのz-indexの解釈の仕方が違うようだった。通常は、z-indexをどこの階層の要素を指定してもその順番が守られる。IE7の場合は、違って、同一階層に要素がないといけないらしい。いくら重なる順番を指定しても階層が重なっているとそちらが優先されてしまい、z-indexの重なり順よりも階層がどこにあるのかで判断されてしまうようだ。</p>
<p>えー、と思ったけどIEなんてこんなもんだろうね。動的に要素を出力する際は、注意が必要。<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2009/08/07/as3_textfield-tips1.html" rel="bookmark" title="2009年8月7日">AS3 TextFieldでの折り返し</a></li>
<li><a href="http://lab.branberyheag.com/2009/08/20/as3_font_1.html" rel="bookmark" title="2009年8月20日">flashDevelopにおけるフォント埋め込みにハマった</a></li>
<li><a href="http://lab.branberyheag.com/2009/08/17/as3%e3%82%aa%e3%83%96%e3%82%b8%e3%82%a7%e3%82%af%e3%83%88%e3%81%ae%e9%87%8d%e3%81%aa%e3%82%8a%e9%a0%86%e5%88%b6%e5%be%a1%e3%81%99%e3%82%8b%e3%81%ab%e3%81%af%e3%83%bb%e3%83%bb%e3%83%bb.html" rel="bookmark" title="2009年8月17日">[AS3]オブジェクトの重なり順制御するには・・・</a></li>
<li><a href="http://lab.branberyheag.com/2011/05/19/css%e3%81%a7%e8%83%8c%e6%99%af%e3%81%abpng%e7%94%bb%e5%83%8f%e4%bd%bf%e3%81%a3%e3%81%9f%e3%81%a8%e3%81%8d%e3%81%aeie6%e5%af%be%e5%bf%9c%e3%81%ae%e6%b3%a8%e6%84%8f%e7%82%b9.html" rel="bookmark" title="2011年5月19日">CSSで背景にPNG画像使ったときのIE6対応の注意点</a></li>
<li><a href="http://lab.branberyheag.com/2010/05/13/about_html5.html" rel="bookmark" title="2010年5月13日">HTML5についていろいろと調べてみた</a></li>
</ul>
<p><!-- Similar Posts took 4.029 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/05/11/ie7%e3%81%a7%e3%81%aez-index%e3%81%ae%e8%a7%a3%e9%87%88.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS３のグラデーションをクロスブラウザ対応で実装する方法</title>
		<link>http://lab.branberyheag.com/2011/02/04/css%ef%bc%93%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%87%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e3%82%af%e3%83%ad%e3%82%b9%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e5%af%be%e5%bf%9c%e3%81%a7%e5%ae%9f.html</link>
		<comments>http://lab.branberyheag.com/2011/02/04/css%ef%bc%93%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%87%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e3%82%af%e3%83%ad%e3%82%b9%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e5%af%be%e5%bf%9c%e3%81%a7%e5%ae%9f.html#comments</comments>
		<pubDate>Fri, 04 Feb 2011 03:06:33 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=928</guid>
		<description><![CDATA[ある案件で、CSS3で角丸、グラデーションを対応しようと思ってCSS3PIEを使っていたけど、これをセールスフォースに入れると、、適用されないらしくかなり困っていた。これでグラデーションは解決すると思った。 一応、メモ。 [...]]]></description>
			<content:encoded><![CDATA[<p>ある案件で、CSS3で角丸、グラデーションを対応しようと思ってCSS3PIEを使っていたけど、これをセールスフォースに入れると、、適用されないらしくかなり困っていた。これでグラデーションは解決すると思った。<br />
一応、メモ。</p>
<p><a href="http://www.red-team-design.com/wp-content/uploads/2011/01/cross-browser-css-gradient-buttons-demo.html">DEMO</a>←ここで確認できる。</p>
<p><span id="more-928"></span></p>
<pre class="brush: xml; title: ; notranslate">

&lt;a href=&quot;#&quot;&gt;
 &lt;span&gt;Button&lt;/span&gt;
&lt;/a&gt;
</pre>
<pre class="brush: css; title: ; notranslate">

.button{
 margin: 10px;
 text-decoration: none;
 font: bold 1.5em 'Trebuchet MS',Arial, Helvetica; /*Change the em value to scale the button*/
 display: inline-block;
 text-align: center;
 color: #fff;

 border: 1px solid #9c9c9c; /* Fallback style */
 border: 1px solid rgba(0, 0, 0, 0.3);

 text-shadow: 0 1px 0 rgba(0,0,0,0.4);

 box-shadow: 0 0 .05em rgba(0,0,0,0.4);
 -moz-box-shadow: 0 0 .05em rgba(0,0,0,0.4);
 -webkit-box-shadow: 0 0 .05em rgba(0,0,0,0.4);

}

.button, .button span{
 -moz-border-radius: .3em;
 border-radius: .3em;
}

.button span{
 border-top: 1px solid #fff; /* Fallback style */
 border-top: 1px solid rgba(255, 255, 255, 0.5);
 display: block;
 padding: 0.5em 2.5em;

/* The background pattern */

 background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),
 -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),
 -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05))),
 -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05)));
 background-image: -moz-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),
 -moz-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),
 -moz-linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%),
 -moz-linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%);

/* Pattern settings */

 -moz-background-size: 3px 3px;
 -webkit-background-size: 3px 3px;
}

.button:hover{
 box-shadow: 0 0 .1em rgba(0,0,0,0.4);
 -moz-box-shadow: 0 0 .1em rgba(0,0,0,0.4);
 -webkit-box-shadow: 0 0 .1em rgba(0,0,0,0.4);
}

.button:active{
 /* When pressed, move it down 1px */
 position: relative;
 top: 1px;
}
</pre>
<pre class="brush: css; title: ; notranslate">

.button-blue{
    background: #4477a1;
    background: -webkit-gradient(linear, left top, left bottom, from(#81a8cb), to(#4477a1) );
    background: -moz-linear-gradient(-90deg, #81a8cb, #4477a1);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1');
}

.button-blue:hover{
    background: #81a8cb;
    background: -webkit-gradient(linear, left top, left bottom, from(#4477a1), to(#81a8cb) );
    background: -moz-linear-gradient(-90deg, #4477a1, #81a8cb);
    filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4477a1', endColorstr='#81a8cb');
}

.button-blue:active{
    background: #4477a1;
}
</pre>
<p>グラデーションがIE/Gekko関係なく使えるのは、すごい便利だと思う。<br />
出典元：コリスさん「[CSS]クロスブラウザ対応、CSSグラデーションを使ったボタンの実用的な実装方法」<br />
<a href="http://coliss.com/articles/build-websites/operation/css/css-tutorial-cross-browser-css-gradient-buttons.html">http://coliss.com/articles/build-websites/operation/css/css-tutorial-cross-browser-css-gradient-buttons.html</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/05/19/css3_memo.html" rel="bookmark" title="2010年5月19日">CSS3メモ１</a></li>
<li><a href="http://lab.branberyheag.com/2010/08/30/css3-pie.html" rel="bookmark" title="2010年8月30日">IEでCSS3を実現するCSS3 PIE</a></li>
<li><a href="http://lab.branberyheag.com/2009/12/16/adobe-air.html" rel="bookmark" title="2009年12月16日">adobe AIRでのBasic認証</a></li>
<li><a href="http://lab.branberyheag.com/2010/06/07/css_sprites_overflow.html" rel="bookmark" title="2010年6月7日">背景画像を使用しないCSSスプライト</a></li>
<li><a href="http://lab.branberyheag.com/2010/03/31/dt%e3%82%bf%e3%82%b0%e3%81%ae%e3%83%95%e3%83%ad%e3%83%bc%e3%83%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2010年3月31日">dtタグのフロートについて</a></li>
</ul>
<p><!-- Similar Posts took 3.746 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/02/04/css%ef%bc%93%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%87%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e3%82%af%e3%83%ad%e3%82%b9%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e5%af%be%e5%bf%9c%e3%81%a7%e5%ae%9f.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6でposition:fixedを適用するための手順</title>
		<link>http://lab.branberyheag.com/2011/01/06/ie6%e3%81%a7positionfixed%e3%82%92%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ae%e6%89%8b%e9%a0%86.html</link>
		<comments>http://lab.branberyheag.com/2011/01/06/ie6%e3%81%a7positionfixed%e3%82%92%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ae%e6%89%8b%e9%a0%86.html#comments</comments>
		<pubDate>Thu, 06 Jan 2011 09:43:39 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[memo]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=922</guid>
		<description><![CDATA[今、やっているお仕事で、position:fixedをどうしても使わないといけなくて、いろいろと調べてみた。なので、メモ。 CSSにIE6のみに適用のために以下のプロパティを定義。 div#samp｛｝は、positio [...]]]></description>
			<content:encoded><![CDATA[<p>今、やっているお仕事で、position:fixedをどうしても使わないといけなくて、いろいろと調べてみた。なので、メモ。</p>
<p>CSSにIE6のみに適用のために以下のプロパティを定義。</p>
<pre class="brush: css; title: ; notranslate">
&lt;pre&gt;html,body{
    width :100%;
    height:100%;
    overflow:auto;
    margin:0;
    padding:0;
}
div#samp{
    position: fixed!important;
    position: absolute;
}
&lt;/pre&gt;
</pre>
<p>div#samp｛｝は、position:fixed;を適用させたい部分に適用する。html,bodyに定義してあるプロパティで「overflow:auto;」となっているが<br />
適宜調整が必要になってくる。</p>
<pre class="brush: xml; title: ; notranslate">

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
</pre>
<p>HTMLファイルで上記の宣言文を忘れずにする。<br />
互換モードでは、使えないので注意が必要。</p>
<p>Javascriptで対応しようと思ったけど、うまくいかなかった。<br />
スクロールするたびにJSのEVENTが反応して、きれいではなかった。</p>
<p>元ネタ</p>
<p><a href="http://d.hatena.ne.jp/cyokodog/20090323/jQueryExFixed#">http://d.hatena.ne.jp/cyokodog/20090323/jQueryExFixed</a><br />
<a href="http://d.hatena.ne.jp/cyokodog/20081204/PositionFixed03">http://d.hatena.ne.jp/cyokodog/20081204/PositionFixed03</a><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2009/08/19/clip%e3%83%97%e3%83%ad%e3%83%91%e3%83%86%e3%82%a3.html" rel="bookmark" title="2009年8月19日">Clipプロパティ</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/13/history-pushstate%e3%81%a7%e3%81%8d%e3%82%8c%e3%81%84%e3%81%aaurl%e3%82%92.html" rel="bookmark" title="2011年9月13日">history.pushStateできれいなURLを</a></li>
<li><a href="http://lab.branberyheag.com/2009/11/04/javascript.html" rel="bookmark" title="2009年11月4日">javascriptとユーザ環境について</a></li>
<li><a href="http://lab.branberyheag.com/2011/10/26/%e7%94%bb%e5%83%8f%e3%81%abbase64%e3%82%92%e3%81%8b%e3%81%91%e3%81%a6html%e3%82%84css%e3%81%ab%e5%9f%8b%e3%82%81%e8%be%bc%e3%82%80.html" rel="bookmark" title="2011年10月26日">画像にbase64をかけてhtmlやCSSに埋め込む</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/15/phonegap%e3%81%ae%e5%8f%af%e8%83%bd%e6%80%a7.html" rel="bookmark" title="2011年9月15日">phoneGapの可能性</a></li>
</ul>
<p><!-- Similar Posts took 3.600 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2011/01/06/ie6%e3%81%a7positionfixed%e3%82%92%e9%81%a9%e7%94%a8%e3%81%99%e3%82%8b%e3%81%9f%e3%82%81%e3%81%ae%e6%89%8b%e9%a0%86.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6でli要素内のaタグにdisplay:blockで余白できる・・・</title>
		<link>http://lab.branberyheag.com/2010/11/17/ie6%e3%81%a7li%e8%a6%81%e7%b4%a0%e5%86%85%e3%81%aea%e3%82%bf%e3%82%b0%e3%81%abdisplayblock%e3%81%a7%e4%bd%99%e7%99%bd%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%bb%e3%83%bb%e3%83%bb.html</link>
		<comments>http://lab.branberyheag.com/2010/11/17/ie6%e3%81%a7li%e8%a6%81%e7%b4%a0%e5%86%85%e3%81%aea%e3%82%bf%e3%82%b0%e3%81%abdisplayblock%e3%81%a7%e4%bd%99%e7%99%bd%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%bb%e3%83%bb%e3%83%bb.html#comments</comments>
		<pubDate>Wed, 17 Nov 2010 04:14:52 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[memo]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=902</guid>
		<description><![CDATA[IE6にて、li要素内でaタグにdisplay:block;を付けると余白ができちゃう。 対処方法として・・・ 「zoom:1;」を入れることで余白がなくなる。 ※IE独自機能関連した記事 dtタグのフロートについて p [...]]]></description>
			<content:encoded><![CDATA[<p>IE6にて、li要素内でaタグにdisplay:block;を付けると余白ができちゃう。</p>
<p>対処方法として・・・</p>
<pre class="brush: css; title: ; notranslate">

div ul li{display:block; zoom:1;}
</pre>
<p>「zoom:1;」を入れることで余白がなくなる。<br />
※IE独自機能<strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/03/31/dt%e3%82%bf%e3%82%b0%e3%81%ae%e3%83%95%e3%83%ad%e3%83%bc%e3%83%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2010年3月31日">dtタグのフロートについて</a></li>
<li><a href="http://lab.branberyheag.com/2011/09/15/phonegap%e3%81%ae%e5%8f%af%e8%83%bd%e6%80%a7.html" rel="bookmark" title="2011年9月15日">phoneGapの可能性</a></li>
<li><a href="http://lab.branberyheag.com/2011/02/17/web-worker-web-storage.html" rel="bookmark" title="2011年2月17日">Web Worker とWeb Storageの組み合わせで何ができるか考えてみた</a></li>
<li><a href="http://lab.branberyheag.com/2011/05/24/flexftp.html" rel="bookmark" title="2011年5月24日">FlexFTP</a></li>
<li><a href="http://lab.branberyheag.com/2009/11/04/javascript.html" rel="bookmark" title="2009年11月4日">javascriptとユーザ環境について</a></li>
</ul>
<p><!-- Similar Posts took 3.519 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/11/17/ie6%e3%81%a7li%e8%a6%81%e7%b4%a0%e5%86%85%e3%81%aea%e3%82%bf%e3%82%b0%e3%81%abdisplayblock%e3%81%a7%e4%bd%99%e7%99%bd%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%bb%e3%83%bb%e3%83%bb.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IEでCSS3を実現するCSS3 PIE</title>
		<link>http://lab.branberyheag.com/2010/08/30/css3-pie.html</link>
		<comments>http://lab.branberyheag.com/2010/08/30/css3-pie.html#comments</comments>
		<pubDate>Mon, 30 Aug 2010 11:00:17 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[css3]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=832</guid>
		<description><![CDATA[IE6~8でCSS3を適用するライブラリ、CSS3PIEというのがあるようだ。 ※どこかで見たと思うんだけど、完全に無視してたので、改めて調べてみた。 どんなプロパティに対応するかというと・・・ border-radiu [...]]]></description>
			<content:encoded><![CDATA[<p>IE6~8でCSS3を適用するライブラリ、<a href="http://css3pie.com/">CSS3PIE</a>というのがあるようだ。<br />
※どこかで見たと思うんだけど、完全に無視してたので、改めて調べてみた。</p>
<p>どんなプロパティに対応するかというと・・・</p>
<div id="_mcePaste">
<ul>
<li>border-radius</li>
<li>box-shadow</li>
<li>border-image</li>
<li>multiple background images</li>
<li>linear-gradient as background image</li>
<li>border-radiusbox-shadowborder-imagemultiple background imageslinear-gradient as background image</li>
</ul>
</div>
<div id="_mcePaste">に対応するみたい。</div>
<div>記述する方法も簡単。</div>
<div>
<pre class="brush: css; title: ; notranslate">&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;color: #333333; font-family: Helvetica, Verdana, sans-serif; line-height: 18px;&quot;&gt;
&lt;pre style=&quot;background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: #eeeeee; display: block; padding-top: 10px; padding-right: 12px; padding-bottom: 10px; padding-left: 12px; background-position: initial initial; background-repeat: initial initial; border: 1px solid #cccccc;&quot;&gt;&lt;code&gt;behavior: url(PIE.htc);&lt;/code&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/div&gt;
</pre>
<p>あとは、パスを通すだけ。<br />
そんなに難しくないので、どこかで試してみたい。</p>
<p>サーバの仕様によっては、.htaccsecを用意して「AddType text/x-component .htc」を記述しないといけないみたい。</p>
<p><a href="http://css3pie.com/">CSS3PIE<br />
</a><a href="http://css3pie.com/">http://css3pie.com/</a></p>
<p><a href="http://css3pie.com/"></a><a href="http://css3pie.com/"></a></p>
</div>
<p><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/03/24/css3_summary.html" rel="bookmark" title="2010年3月24日">CSS3を先行実装しているプロパティまとめ</a></li>
<li><a href="http://lab.branberyheag.com/2011/10/26/css3%e3%82%a2%e3%83%8b%e3%83%a1%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%83%8a%e3%83%93%e3%82%b2%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%b5%e3%83%b3%e3%83%97%e3%83%ab.html" rel="bookmark" title="2011年10月26日">CSS3アニメーションナビゲーションサンプル</a></li>
<li><a href="http://lab.branberyheag.com/2011/02/04/css%ef%bc%93%e3%81%ae%e3%82%b0%e3%83%a9%e3%83%87%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%82%92%e3%82%af%e3%83%ad%e3%82%b9%e3%83%96%e3%83%a9%e3%82%a6%e3%82%b6%e5%af%be%e5%bf%9c%e3%81%a7%e5%ae%9f.html" rel="bookmark" title="2011年2月4日">CSS３のグラデーションをクロスブラウザ対応で実装する方法</a></li>
<li><a href="http://lab.branberyheag.com/2010/05/19/css3_memo.html" rel="bookmark" title="2010年5月19日">CSS3メモ１</a></li>
<li><a href="http://lab.branberyheag.com/2010/05/13/about_html5.html" rel="bookmark" title="2010年5月13日">HTML5についていろいろと調べてみた</a></li>
</ul>
<p><!-- Similar Posts took 4.875 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/08/30/css3-pie.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WebFontの使い方</title>
		<link>http://lab.branberyheag.com/2010/06/10/webfont.html</link>
		<comments>http://lab.branberyheag.com/2010/06/10/webfont.html#comments</comments>
		<pubDate>Thu, 10 Jun 2010 13:42:10 +0000</pubDate>
		<dc:creator>isao</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[webfont]]></category>

		<guid isPermaLink="false">http://lab.branberyheag.com/?p=781</guid>
		<description><![CDATA[そのうち使ってみたいのがWebFontだ。 fontのライセンス次第だけど、サーバにアップロードして、CSSで指定すれば好みのフォントで表示できる。将来、画像で加工して見出しを作る行為自体がなくなるかもしれない。 指定の [...]]]></description>
			<content:encoded><![CDATA[<p>そのうち使ってみたいのがWebFontだ。</p>
<p>fontのライセンス次第だけど、サーバにアップロードして、CSSで指定すれば好みのフォントで表示できる。将来、画像で加工して見出しを作る行為自体がなくなるかもしれない。</p>
<p>指定の仕方は・・</p>
<p><span id="more-781"></span></p>
<pre class="brush: css; title: ; notranslate">

@font-face {
 font-family:TestFonts;
 src:url(フォントのURL) format(&quot;opentype&quot;);
}
body {
 font-family:TestFonts;
}
</pre>
<p><strong>関連した記事</strong>
<ul class="similar-posts">
<li><a href="http://lab.branberyheag.com/2010/05/21/google-font-api%e3%81%af%e3%81%99%e3%81%94%e3%81%84%e3%81%9e.html" rel="bookmark" title="2010年5月21日">Google font APIはすごいぞ</a></li>
<li><a href="http://lab.branberyheag.com/2009/08/20/as3_font_1.html" rel="bookmark" title="2009年8月20日">flashDevelopにおけるフォント埋め込みにハマった</a></li>
<li><a href="http://lab.branberyheag.com/2011/04/06/web-storage-%e3%81%ae%e4%bd%bf%e3%81%84%e6%96%b9.html" rel="bookmark" title="2011年4月6日">Web Storage の使い方</a></li>
<li><a href="http://lab.branberyheag.com/2010/03/31/dt%e3%82%bf%e3%82%b0%e3%81%ae%e3%83%95%e3%83%ad%e3%83%bc%e3%83%88%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6.html" rel="bookmark" title="2010年3月31日">dtタグのフロートについて</a></li>
<li><a href="http://lab.branberyheag.com/2010/09/06/adobe-air_wordpress.html" rel="bookmark" title="2010年9月6日">adobe AIRでwordpressのクライアントソフトを作ってみたくなった</a></li>
</ul>
<p><!-- Similar Posts took 3.911 ms --></p>
]]></content:encoded>
			<wfw:commentRss>http://lab.branberyheag.com/2010/06/10/webfont.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

