<?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>べたろぐ。 &#187; (X)HTML</title>
	<atom:link href="http://szdy.info/wp/tag/xhtml/feed/" rel="self" type="application/rss+xml" />
	<link>http://szdy.info/wp</link>
	<description></description>
	<lastBuildDate>Tue, 28 Sep 2010 10:42:57 +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://szdy.info/wp/tag/xhtml/feed/" />
		<item>
		<title>Apache on Mac OS X と CSS 着せ替え XHTML 文書を移しました</title>
		<link>http://szdy.info/wp/2009/05/17/647/</link>
		<comments>http://szdy.info/wp/2009/05/17/647/#comments</comments>
		<pubDate>Sun, 17 May 2009 07:04:06 +0000</pubDate>
		<dc:creator>beta</dc:creator>
				<category><![CDATA[Information]]></category>
		<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://szdy.info/wp/?p=647</guid>
		<description><![CDATA[前のサーバに置いてあった 2 つのドキュメントをこっちのサーバへ移しました。 Apache on Mac OS X CSS 着せ替え用 XHTML 1.1 文書 Apache の方は内容がだいぶ古くなっている。あの頃って [...]]]></description>
			<content:encoded><![CDATA[				<p>前のサーバに置いてあった 2 つのドキュメントをこっちのサーバへ移しました。</p>
				<ul>
				<li><a href="http://szdy.info/docs/apache_on_osx/" title="szdy.info - Apache on Mac OS X">Apache on Mac OS X</a></li>
				<li><a href="http://szdy.info/docs/xhtml_doc_for_css_check/" title="szdy.info - CSS 着せ替え用 XHTML 1.1 文書">CSS 着せ替え用 XHTML 1.1 文書</a></li>
				</ul>
				<p>Apache の方は内容がだいぶ古くなっている。あの頃ってまだ Mac OS X が登場したばかりで反対意見が多かったんだよなあ、とか読んでいたら懐かしい気持ちになった。気が向いたら更新してみようと思います。</p>
]]></content:encoded>
			<wfw:commentRss>http://szdy.info/wp/2009/05/17/647/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://szdy.info/wp/2009/05/17/647/" />
	</item>
		<item>
		<title>サクラ舞う</title>
		<link>http://szdy.info/wp/2006/03/25/27/</link>
		<comments>http://szdy.info/wp/2006/03/25/27/#comments</comments>
		<pubDate>Sat, 25 Mar 2006 02:10:33 +0000</pubDate>
		<dc:creator>seesaa</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[Seesaa BLOG]]></category>

		<guid isPermaLink="false">http://szdy.info/wp/?p=27</guid>
		<description><![CDATA[STUDIO-蔵：サクラ 一足先に春気分に浸ってみた。でも、配布元のサンプルショットほどサクラの花ビラは目立たなかった。設定が悪いのだろうかとも思ったが、設定項目が 2 つしかないので間違えようが無い。まぁでも少し春気分 [...]]]></description>
			<content:encoded><![CDATA[				<div class="thumb"><a href="http://szdy.info/wp/wp-content/uploads/2006/03/20060325_desktop.jpg" title="20060325 desktop"><img src="http://szdy.info/wp/wp-content/uploads/2006/03/20060325_desktop-150x150.jpg" alt="20060325 desktop" title="20060325 desktop" width="150" height="150" class="alignright size-thumbnail wp-image-243" /></a></div>
				<ul>
				<li><a href="http://www.studio-kura.com/download/sakura/index.html" title="STUDIO-蔵：サクラ">STUDIO-蔵：サクラ</a></li>
				</ul>
				<p>一足先に春気分に浸ってみた。でも、配布元のサンプルショットほどサクラの花ビラは目立たなかった。設定が悪いのだろうかとも思ったが、設定項目が 2 つしかないので間違えようが無い。まぁでも少し春気分を味わった。</p>
				<p>ちなみに、Seesaa BLOG の記事を書くときは、あらかじめ作っておいてるテンプレ HTML 文書をローカルでプレビューしながら編集し、OK そうだったら記事内容を投稿フォームにコペコペしてます。</p>
]]></content:encoded>
			<wfw:commentRss>http://szdy.info/wp/2006/03/25/27/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://szdy.info/wp/2006/03/25/27/" />
	</item>
		<item>
		<title>Seesaa BLOG を始めて、初めての文法チェック</title>
		<link>http://szdy.info/wp/2006/03/13/15/</link>
		<comments>http://szdy.info/wp/2006/03/13/15/#comments</comments>
		<pubDate>Sun, 12 Mar 2006 21:33:40 +0000</pubDate>
		<dc:creator>seesaa</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[Markup]]></category>
		<category><![CDATA[Seesaa BLOG]]></category>
		<category><![CDATA[Validator]]></category>

		<guid isPermaLink="false">http://szdy.info/wp/?p=15</guid>
		<description><![CDATA[ふと思い立ち、Another HTML-lint gateway を使って文法チェックを試みる。 ふつうです。 http://seize-a-day.seesaa.net/ を XHTML1.0 Transitional [...]]]></description>
			<content:encoded><![CDATA[				<p>ふと思い立ち、<a href="http://openlab.ring.gr.jp/k16/htmllint/htmllint.html" title="Another HTML-lint gateway">Another HTML-lint gateway</a> を使って文法チェックを試みる。</p>
				<blockquote cite="http://openlab.ring.gr.jp/k16/htmllint/htmllint.cgi?URL=http://seize-a-day.seesaa.net/&amp;ViewSource=on" title="Check result of Another HTML-lint の結果">
				<p><em>ふつうです。</em></p>
				<p><a href="http://seize-a-day.seesaa.net/">http://seize-a-day.seesaa.net/</a> を XHTML1.0 Transitional としてチェックしました。71 個のエラーがありました。<em>このHTMLは 60 点</em>です。タグが 29 種類 244 組使われています。文字コードは Shift JIS のようです。</p>
				</blockquote>
				<p>いやはや何とも中途半端な結果。ほとんどのエラーは、 Seesaa BLOG が自動生成するコード、アフィリエイトアンカーだったりするので対策のしようがない。直せるところは直してみようと思う。</p>
]]></content:encoded>
			<wfw:commentRss>http://szdy.info/wp/2006/03/13/15/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://szdy.info/wp/2006/03/13/15/" />
	</item>
		<item>
		<title>ソースコードのマークアップ</title>
		<link>http://szdy.info/wp/2006/03/11/12/</link>
		<comments>http://szdy.info/wp/2006/03/11/12/#comments</comments>
		<pubDate>Sat, 11 Mar 2006 10:48:41 +0000</pubDate>
		<dc:creator>seesaa</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[Markup]]></category>
		<category><![CDATA[Web Standards]]></category>

		<guid isPermaLink="false">http://szdy.info/wp/?p=12</guid>
		<description><![CDATA[ソースコードのマークアップで参考にしたとこをメモ。 コンピュータ &#8211; mozilla.org マークアップ参考資料 ソースコードのマークアップに関する議論リンク集 なんだか懐かしい気持ちになった。]]></description>
			<content:encoded><![CDATA[				<p>ソースコードのマークアップで参考にしたとこをメモ。</p>
				<ul>
				<li><a href="http://www.mozilla-japan.org/contribute/writing/markup#computers" title="コンピュータ - mozilla.org マークアップ参考資料">コンピュータ &#8211; mozilla.org マークアップ参考資料</a></li>
				<li><a href="http://www.akatsukinishisu.net/itazuragaki/source_markup.html" title="ソースコードのマークアップに関する議論リンク集">ソースコードのマークアップに関する議論リンク集</a></li>
				</ul>
				<p>なんだか懐かしい気持ちになった。</p>
]]></content:encoded>
			<wfw:commentRss>http://szdy.info/wp/2006/03/11/12/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://szdy.info/wp/2006/03/11/12/" />
	</item>
		<item>
		<title>Seesaa BLOG で CSS Drop Shadows (CSS で画像にドロップシャドウ)</title>
		<link>http://szdy.info/wp/2006/03/10/11/</link>
		<comments>http://szdy.info/wp/2006/03/10/11/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 11:41:16 +0000</pubDate>
		<dc:creator>seesaa</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[(X)HTML]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[CSS drop shadows]]></category>
		<category><![CDATA[Markup]]></category>

		<guid isPermaLink="false">http://szdy.info/wp/?p=11</guid>
		<description><![CDATA[CSS によって画像にドロップシャドウを付ける Tips。 Easy CSS drop shadows &#124; Blog &#124; 1976design.com ほとんどそのままソースを使わせてもらいました。仕組みについては A  [...]]]></description>
			<content:encoded><![CDATA[				<p><abbr title="Cascading Style Sheets">CSS</abbr> によって画像にドロップシャドウを付ける Tips。</p>
				<ul>
				<li><a href="http://www.1976design.com/blog/archive/2003/11/14/shadows/" title="Easy CSS drop shadows | Blog | 1976design.com">Easy CSS drop shadows | Blog | 1976design.com</a></li>
				</ul>
				<p>ほとんどそのままソースを使わせてもらいました。仕組みについては <a href="http://www.alistapart.com/articles/cssdropshadows/" title="A List Apart: Articles: CSS Drop Shadows">A List Apart: Articles: CSS Drop Shadows</a> を見れば、図解されているので非常にわかりやすい。</p>
				<p>Seesaa BLOG サービスでは、アップロードした画像を記事に貼付ける時は自動でソースを埋め込んでくれる。</p>
				<dl>
				<dt>Seesaa BLOG が書き出すソース</dt>
				<dd>
				<pre class="code"><code>&lt;a href=&quot;http://seize-a-day.up.seesaa.net/image/20060310_kimuchi.jpg&quot;
<!--pre-->        target=&quot;_blank&quot;&gt;
<!--pre-->    &lt;img src=&quot;http://seize-a-day.up.seesaa.net/image/20060310_kimuchi-thumbnail2.jpg&quot;
<!--pre-->            width=&quot;150&quot; height=&quot;112&quot; border=&quot;0&quot; align=&quot;left&quot; alt=&quot;kukkyさんちのキムチ&quot; /&gt;
<!--pre-->&lt;/a&gt;</code></pre>
				<p class="note">見やすいように空白類文字を加えました。</p>
				</dd>
				</dl>
				<p>あたしの場合、この生成されたソースを実際に使う時は <code>&lt;div class=&quot;image&quot;&gt;</code> で囲んでいるので、こいつを <abbr title="Cascading Style Sheets">CSS</abbr> のクラスセレクタとして利用することにします。</p>
				<p>まずは <a href="http://www.1976design.com/blog/archive/2003/11/14/shadows/" title="Easy CSS drop shadows | Blog | 1976design.com">Easy CSS drop shadows | Blog | 1976design.com</a> からドロップシャドウの画像素材をダウンロードして Seesaa BLOG にアップロードしておく。そして <abbr title="Cascading Style Sheets">CSS</abbr> のソースも参考にしながら、<code>margin</code> の微調整と画像が連続する場合のみ <code>float</code> で流し込むように書き換える。</p>
				<dl>
				<dt>実際に使う HTML ソース</dt>
				<dd>
				<pre class="code"><code><em>&lt;div class=&quot;image&quot;&gt;</em>
<!--pre-->    &lt;a href=&quot;http://seize-a-day.up.seesaa.net/image/20060310_kimuchi.jpg&quot;
<!--pre-->            target=&quot;_blank&quot;&gt;
<!--pre-->        &lt;img src=&quot;http://seize-a-day.up.seesaa.net/image/20060310_kimuchi-thumbnail2.jpg&quot;
<!--pre-->                width=&quot;150&quot; height=&quot;112&quot; border=&quot;0&quot; align=&quot;left&quot; alt=&quot;kukkyさんちのキムチ&quot; /&gt;
<!--pre-->    &lt;/a&gt;
<!--pre--><em>&lt;/div&gt;</em></code></pre>
				<p class="note">見やすいように空白類文字を加えています。</p>
				</dd>
				<dt><abbr title="Cascading Style Sheets">CSS</abbr> のソース</dt>
				<dd>
				<pre class="code">/****************************************************
<!--pre--> *    Easy CSS drop shadows
<!--pre--> *    http://www.1976design.com/blog/archive/2003/11/14/shadows/
<!--pre--> ***************************************************/
<!--pre-->
<!--pre-->/* 画像が連続する場合のみ流し込みするため、他のは流し込み解除 */
<!--pre-->.posted
<!--pre-->    {
<!--pre-->    clear: both;
<!--pre-->    }
<!--pre-->
<!--pre-->/* .image の場合 */
<!--pre-->.text .image
<!--pre-->    {
<!--pre-->    text-indent: 0;
<!--pre-->    background: url('<em>http://hoge(環境に合わせて書き換え)</em>/shadow.gif') no-repeat bottom right;
<!--pre-->    clear: none;
<!--pre-->    float: left;
<!--pre-->    width: auto;
<!--pre-->    margin: 0 1em 1em 5px;
<!--pre-->    padding: 0;
<!--pre-->    position: relative;
<!--pre-->    }
<!--pre-->
<!--pre-->.text .image img
<!--pre-->    {
<!--pre-->    color: inherit;
<!--pre-->    background-color: #fff;
<!--pre-->    border: 1px solid #a9a9a9;
<!--pre-->    display: block;
<!--pre-->    margin: -5px 5px 5px -5px;
<!--pre-->    padding: 4px;
<!--pre-->    position: relative;
<!--pre-->    }
<!--pre-->
<!--pre-->/* もしもアンカーだった場合のために :hover 時の装飾 */
<!--pre-->.text .image a img:hover
<!--pre-->    {
<!--pre-->    color: inherit;
<!--pre-->    background-color: #fff0f0;
<!--pre-->    border: 1px solid red;
<!--pre-->    }</pre>
				</dd>
				<dt>表示例</dt>
				<dd>
				<div class="thumb"><a href="http://szdy.info/wp/wp-content/uploads/2006/03/20060310_kimuchi.jpg" title="kukky さんちのキムチ"><img src="http://szdy.info/wp/wp-content/uploads/2006/03/20060310_kimuchi-150x150.jpg" alt="kukky さんちのキムチ" title="kukky さんちのキムチ" width="150" height="150" class="alignright size-thumbnail wp-image-283" /></a></div>
				<p class="note">ここで使った猫の写真は、<a href="http://blog.so-net.ne.jp/studiokukkky/" title="So-net blog:HDV/ハイビジョン/ネコ年は来ない">So-net blog:HDV/ハイビジョン/ネコ年は来ない</a>の Studio Kukky さんちの猫、キムチです。 <span class="remark">勝手に出演させちゃいました。</span></p>
				</dd>
				</dl>
				<p><ins datetime="2006-03-23T06:00:00+09:00">以下、追記。</ins></p>
				<p>スタイルシートをやや修正。</p>
				<ul>
				<li>記事本文中のみに影響範囲を限定するため、各セレクタの親に <code>.text</code> を追加</li>
				<li>流し込み解除するセレクタを変更</li>
				<li>画像がアンカーではない場合も想定し、<code>.image a</code> としていたセレクタを <code>.image</code> に変更</li>
				<li>画像がアンカーの場合は、マウスオーバーでアンカーであることがわかるように装飾を変更</li>
				</ul>
				<p><ins datetime="2006-03-24T20:24:00+09:00">さらに追記。</ins></p>
				<ul>
				<li>流し込み解除のセレクタとして <code>.text &gt; a</code> と <code>.posted</code> を追加（けっこう重要）</li>
				</ul>
				<p><ins datetime="2006-03-31T19:30:00+09:00">さらに追記。</ins></p>
				<ul>
				<li>流し込み解除のセレクタを <code>.posted</code> のみに絞りました。これがあることで最低限のレイアウト崩壊を防げると思います</li>
				</ul>
]]></content:encoded>
			<wfw:commentRss>http://szdy.info/wp/2006/03/10/11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://szdy.info/wp/2006/03/10/11/" />
	</item>
	</channel>
</rss>

