<?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>creator note &#187; CSS</title>
	<atom:link href="http://creator.cotapon.org/articles/category/css/feed" rel="self" type="application/rss+xml" />
	<link>http://creator.cotapon.org</link>
	<description>こたぽんがWebクリエイターに限らず動画や写真、書道までマルチクリエイターになれるまで終わりなく書き続けます</description>
	<lastBuildDate>Fri, 27 Aug 2010 04:32:40 +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>HTML5、JavaScript、CSSが共有できるjsdo.it</title>
		<link>http://creator.cotapon.org/articles/css/html5%e3%80%81javascript%e3%80%81css%e3%81%8c%e5%85%b1%e6%9c%89%e3%81%a7%e3%81%8d%e3%82%8bjsdo-it</link>
		<comments>http://creator.cotapon.org/articles/css/html5%e3%80%81javascript%e3%80%81css%e3%81%8c%e5%85%b1%e6%9c%89%e3%81%a7%e3%81%8d%e3%82%8bjsdo-it#comments</comments>
		<pubDate>Fri, 18 Jun 2010 09:24:12 +0000</pubDate>
		<dc:creator>cotapon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://creator.cotapon.org/?p=1074</guid>
		<description><![CDATA[
ActionScriptを共有するwonderflのHTML5、JavaScript、CSS版ってところですね。サイト上で公開されているソースコードを編集して、そのまま公開することができます。
＞＞jsdo.it
にぎ [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://jsdo.it/"><img src="http://creator.cotapon.org/wp-content/uploads/2010/06/100618_01.jpg" alt="jsdo.it" width="500" height="337" ></a></p>
<p>ActionScriptを共有する<a href="http://wonderfl.net/">wonderfl</a>のHTML5、JavaScript、CSS版ってところですね。サイト上で公開されているソースコードを編集して、そのまま公開することができます。</p>
<p>＞＞<a href="http://jsdo.it/">jsdo.it</a></p>
<p>にぎやかしにはなりますが、wonderflもjsdo.itも、実際に流用できて使えるコードってあるのでしょうか。。。とはいえ、刺激になり触発されるので、すばらしいサイトだと思います。シェアする方も、ホントの手の内は明かさないんでしょうけどねー。</p>
]]></content:encoded>
			<wfw:commentRss>http://creator.cotapon.org/articles/css/html5%e3%80%81javascript%e3%80%81css%e3%81%8c%e5%85%b1%e6%9c%89%e3%81%a7%e3%81%8d%e3%82%8bjsdo-it/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE5.5、IE6、IE7、IE8を同時に表示確認できるフリーアプリIETester</title>
		<link>http://creator.cotapon.org/articles/css/ie5-5%e3%80%81ie6%e3%80%81ie7%e3%80%81ie8%e3%82%92%e5%90%8c%e6%99%82%e3%81%ab%e8%a1%a8%e7%a4%ba%e7%a2%ba%e8%aa%8d%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%95%e3%83%aa%e3%83%bc%e3%82%a2%e3%83%97%e3%83%aaietest</link>
		<comments>http://creator.cotapon.org/articles/css/ie5-5%e3%80%81ie6%e3%80%81ie7%e3%80%81ie8%e3%82%92%e5%90%8c%e6%99%82%e3%81%ab%e8%a1%a8%e7%a4%ba%e7%a2%ba%e8%aa%8d%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%95%e3%83%aa%e3%83%bc%e3%82%a2%e3%83%97%e3%83%aaietest#comments</comments>
		<pubDate>Tue, 27 Oct 2009 14:26:31 +0000</pubDate>
		<dc:creator>cotapon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[InternetExplorer]]></category>
		<category><![CDATA[Windows用フリーソフト]]></category>

		<guid isPermaLink="false">http://creator.cotapon.org/?p=438</guid>
		<description><![CDATA[
Internet Explorerに合わせたCSSコーディングほど手間がかかる事はありません。古いWindowsPCをそろえて古いInternet Explorerで確認するのもわずらわしいですよね。。
IETeste [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://creator.cotapon.org/wp-content/uploads/091027_01.jpg"><img src="http://creator.cotapon.org/wp-content/uploads/091027_01.jpg" alt="IETester" width="500" height="300" class="outline" /></a><br />
Internet Explorerに合わせたCSSコーディングほど手間がかかる事はありません。古いWindowsPCをそろえて古いInternet Explorerで確認するのもわずらわしいですよね。。</p>
<p>IETesterというアプリを使えば、IE5.5、IE6、IE7、IE8での表示確認が一度にできます。Windows用ですが、無料で使えるのでダウンロードして損はないと思います。ボクはとても助かってます！＾－＾
</p>
<p>▼IETester<br />
配布元：<a href="http://www.my-debugbar.com/wiki/IETester/HomePage">My DebugBar | IETester</a></p>
]]></content:encoded>
			<wfw:commentRss>http://creator.cotapon.org/articles/css/ie5-5%e3%80%81ie6%e3%80%81ie7%e3%80%81ie8%e3%82%92%e5%90%8c%e6%99%82%e3%81%ab%e8%a1%a8%e7%a4%ba%e7%a2%ba%e8%aa%8d%e3%81%a7%e3%81%8d%e3%82%8b%e3%83%95%e3%83%aa%e3%83%bc%e3%82%a2%e3%83%97%e3%83%aaietest/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flashの周りに出る点線を消す方法</title>
		<link>http://creator.cotapon.org/articles/css/flash%e3%81%ae%e5%91%a8%e3%82%8a%e3%81%ab%e5%87%ba%e3%82%8b%e7%82%b9%e7%b7%9a%e3%82%92%e6%b6%88%e3%81%99%e6%96%b9%e6%b3%95</link>
		<comments>http://creator.cotapon.org/articles/css/flash%e3%81%ae%e5%91%a8%e3%82%8a%e3%81%ab%e5%87%ba%e3%82%8b%e7%82%b9%e7%b7%9a%e3%82%92%e6%b6%88%e3%81%99%e6%96%b9%e6%b3%95#comments</comments>
		<pubDate>Fri, 23 Oct 2009 09:01:16 +0000</pubDate>
		<dc:creator>cotapon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Flash]]></category>

		<guid isPermaLink="false">http://creator.cotapon.org/?p=402</guid>
		<description><![CDATA[
かなり限られた条件だと思いますが、ボクが見ているFirefoxではFlsahコンテンツを触ると周りに点線が出るという現象が起きてます。その点線は、テキストリンクや画像リンクに対してクリックしたときと同じ点線が表示します [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://creator.cotapon.org/wp-content/uploads/091023_01.jpg"><img src="http://creator.cotapon.org/wp-content/uploads/091023_01.jpg" alt="091023_01" title="091023_01" width="500" height="280" class="aligncenter size-full wp-image-423" /></a><br />
かなり限られた条件だと思いますが、ボクが見ているFirefoxではFlsahコンテンツを触ると周りに点線が出るという現象が起きてます。その点線は、テキストリンクや画像リンクに対してクリックしたときと同じ点線が表示します。</p>
<h4>点線が出てしまう条件の予想</h4>
<p>・Windows XP<br />
・Firefox（Mac版 Firefoxでは出ませんでした。）<br />
・swfobject v2.2　でFlashを表示。</p>
<h4>点線を消す方法</h4>
<p>根本的解決になるかどうかはわかりませんが、swfobjectでも最終的にはobjectタグをdocument.writeしているので、objectタグに対してoutline: none;としてあげると、ボクの環境でFlashの周りの点線は消えました。</p>
<p>コレでいいのかなー＾－＾；</p>
<pre class="brush: css;">
object{
	outline: none;
}
</pre>
<p>追記：この点線は、Firefoxでフォーカスがあたっているところに対しての点線でした。見てくれを重視するために、この点線自体を消したい場合は、全体に対してCSSでoutline:noneｔ;とするといいと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://creator.cotapon.org/articles/css/flash%e3%81%ae%e5%91%a8%e3%82%8a%e3%81%ab%e5%87%ba%e3%82%8b%e7%82%b9%e7%b7%9a%e3%82%92%e6%b6%88%e3%81%99%e6%96%b9%e6%b3%95/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ソースコードに色をつけるSyntaxHighlighterの導入方法</title>
		<link>http://creator.cotapon.org/articles/css/%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ab%e8%89%b2%e3%82%92%e3%81%a4%e3%81%91%e3%82%8bsyntaxhighlighter%e3%81%ae%e5%b0%8e%e5%85%a5%e6%96%b9%e6%b3%95</link>
		<comments>http://creator.cotapon.org/articles/css/%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ab%e8%89%b2%e3%82%92%e3%81%a4%e3%81%91%e3%82%8bsyntaxhighlighter%e3%81%ae%e5%b0%8e%e5%85%a5%e6%96%b9%e6%b3%95#comments</comments>
		<pubDate>Sat, 17 Oct 2009 00:00:37 +0000</pubDate>
		<dc:creator>cotapon</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[ActionScript]]></category>

		<guid isPermaLink="false">http://creator.cotapon.org/?p=271</guid>
		<description><![CDATA[いろんなブログをみていると、HTML、JavaScript、CSS、XMLやPHPのソースコードを、列番号が割り振られて、かつ部分にフォントカラーが設定されているのを見かけます。「ハイライト」って言うんですね。
▼Wor [...]]]></description>
			<content:encoded><![CDATA[<p>いろんなブログをみていると、HTML、JavaScript、CSS、XMLやPHPのソースコードを、列番号が割り振られて、かつ部分にフォントカラーが設定されているのを見かけます。「ハイライト」って言うんですね。</p>
<p>▼WordPressプラグインSyntaxHighlighter Evolvedの使い方はこちら<br />
<a href="http://creator.cotapon.org/articles/%E6%9C%AA%E5%88%86%E9%A1%9E/wordpress%E3%81%A7%E3%82%BD%E3%83%BC%E3%82%B9%E3%82%B3%E3%83%BC%E3%83%89%E3%81%AB%E8%89%B2%E3%82%92%E3%81%A4%E3%81%91%E3%82%8B%E3%83%97%E3%83%A9%E3%82%B0%E3%82%A4%E3%83%B3%E3%81%AE%E4%BD%BF%E3%81%84.html">WordPressでソースコードに色をつけるプラグインの使い方：SyntaxHighlighter Evolved</a></p>
<p>まさか人力で設定しているわけでもなさそうですし、どうやってるのか調べてみると、SyntaxHighlighterというJavaScriptとCSSで簡単に導入できるみたいなのでさっそく試してみました。</p>
<h4>SyntaxHighlighterのライブラリをダウンロード</h4>
<p>▼ダウンロードはこちらから。<br />
配布元：<a href="http://code.google.com/p/syntaxhighlighter/">syntaxhighlighter &#8211; Google Code</a></p>
<p>▼解凍したフォルダー構成。<br />
・Uncompressed<br />
・Styles<br />
・Script</p>
<p>この３つのフォルダーをアップして、<br />
導入したいサイトのheadに下記を書きます。</p>
<pre>
&lt;link type="text/css" rel="stylesheet" href="http://testblog.com/Styles/SyntaxHighlighter.css" /&gt;
&lt;script type="text/javascript" src="http://blog.caraldo.net/Script/shCore.js"&gt;&lt;/script&gt;

&lt;!-- 表示したい言語に応じて書きます --&gt;
&lt;script type="text/javascript" src="http://blog.caraldo.net/Script/shBrushJScript.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://blog.caraldo.net/Script/shBrushCss.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://blog.caraldo.net/Script/shBrushPhp.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="http://blog.caraldo.net/Script/shBrushXml.js"&gt;&lt;/script&gt;

&lt;!-- window.onloadの時に実行される、表示させる為の関数 --&gt;
&lt;script type="text/javascript"&gt;
window.onload = function () {
	dp.SyntaxHighlighter.ClipboardSwf = 'js/clipboard.swf';
	dp.SyntaxHighlighter.HighlightAll('code');
}
&lt;/script&gt;
</pre>
<p>↑これは、普通のpreタグで挟んでます。<br />
preタグに対してnameとclassを指定してあげます。</p>
<pre>&lt;pre name="code" class="html:collapse"&gt;
ここにソースコード
&lt;/pre&gt;</pre>
<p>さっきのheadに書く記述に挟んだpreタグnameとclassを設定してあげると、もうお気付きかもしれませんが、classの部分を書き換えると、その種類のソースコードにハイライトが変わります。下記はそのリストで、左側がclassに入力する種類で、右側は使用する際にheadに書き足すJavaScript名です。</p>
<pre>
cpp        => shBrushCpp.js
c          => shBrushCpp.js
c++        => shBrushCpp.js
c#         => shBrushCSharp.js
c-sharp    => shBrushCSharp.js
csharp     => shBrushCSharp.js
css        => shBrushCss.js
delphi     => shBrushDelphi.js
pascal     => shBrushDelphi.js
java       => shBrushJava.js
js         => shBrushJScript.js
jscript    => shBrushJScript.js
javascript => shBrushJScript.js
php        => shBrushPhp.js
py         => shBrushPython.js
python     => shBrushPython.js
rb         => shBrushRuby.js
ruby       => shBrushRuby.js
rails      => shBrushRuby.js
ror        => shBrushRuby.js
sql        => shBrushSql.js
vb         => shBrushVb.js
vb.net     => shBrushVb.js
xml        => shBrushXml.js
html       => shBrushXml.js
xhtml      => shBrushXml.js
xslt       => shBrushXml.js
</pre>
<h4>view plain、copy to clipboard、print、?、のテキストを日本語にしてみる。</h4>
<p>Scripts/shCore.js　をテキストエディタで開いて、「label:&#8217;」と検索してみると４箇所ヒットすると思います。それぞれを下記のように書き換えてみました。</p>
<pre>
label:'view plain'	=>	label:'プレーン表示'
label:'copy to clipboard'	=>	label:'クリップボードにコピー'
label:'print'	=>	label:'プリント'
label:'?'	=>	label:'コレは何？'
</pre>
<p>すると文字化けして表示されてしまいました。。orz　これらSyntaxHighlighterのファイルコードは全てShift_JIS形式になっています。ブログやサイトに設定している文字コードに引っ張られるので、headタグに書いているshCore.js&#8221;のところに、</p>
<pre>
&lt;script type="text/javascript" src="http://blog.caraldo.net/Script/shCore.js" charset="Shift_JIS"&gt;&lt;/script&gt;
</pre>
<p>「charset=&#8221;Shift_JIS&#8221;」と書き足しました。</p>
<h4>SyntaxHighlighterにActionScritpを対応させる方法</h4>
<p>▼こちらのサイトから、ActionScriptをハイライトさせるJavaScriptをダウンロード<br />
配布元：<a href="http://yourpalmark.com/2007/09/19/as3-syntax-highlighting-with-syntaxhighlighter/">AS3 Syntax Highlighting (with SyntaxHighlighter)</a><br />
▼解凍したフォルダー構成。<br />
・Scripts<br />
・Styles<br />
StylesのなかにあるSyntaxHighlighter.cssに差し替えて、Scriptsの中にあるCompressedとUncompressedの中にある、shBrushAS3.jsをそれぞれのディレクトリにアップして、</p>
<pre>&lt;pre name="code" class="as:collapse"&gt;
ここにソースコード
&lt;/pre&gt;</pre>
<p>これでActionScriptのハイライトが可能になります。</p>
]]></content:encoded>
			<wfw:commentRss>http://creator.cotapon.org/articles/css/%e3%82%bd%e3%83%bc%e3%82%b9%e3%82%b3%e3%83%bc%e3%83%89%e3%81%ab%e8%89%b2%e3%82%92%e3%81%a4%e3%81%91%e3%82%8bsyntaxhighlighter%e3%81%ae%e5%b0%8e%e5%85%a5%e6%96%b9%e6%b3%95/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
