<?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>niwadesign &#187; html</title>
	<atom:link href="http://www.niwadesign.jp/archives/category/html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.niwadesign.jp</link>
	<description>ホームページ制作のネタ発信</description>
	<lastBuildDate>Thu, 09 Jun 2011 11:44:07 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>iPhone用htmlのヘッダー要素のルールβ版</title>
		<link>http://www.niwadesign.jp/archives/351</link>
		<comments>http://www.niwadesign.jp/archives/351#comments</comments>
		<pubDate>Tue, 08 Mar 2011 12:42:21 +0000</pubDate>
		<dc:creator>takehito</dc:creator>
				<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://www.niwadesign.jp/?p=351</guid>
		<description><![CDATA[viewportは幅を指定するためのもの。 javascript部分はアドレスバーを非表示（画面の上に隠す）にするためのもの。 &#60;link rel=&#34;apple-touch-icon&#34; href &#8230;<p class="read-more"><a href="http://www.niwadesign.jp/archives/351">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.niwadesign.jp/wp-content/uploads/2011/03/iphone.jpg" rel="lightbox[351]"><img src="http://www.niwadesign.jp/wp-content/uploads/2011/03/iphone-300x225.jpg" alt="" title="iphone" width="300" height="225" class="alignnone size-medium wp-image-357" /></a></p>
<ul>
<li>viewportは幅を指定するためのもの。</li>
<li>javascript部分はアドレスバーを非表示（画面の上に隠す）にするためのもの。</li>
<li>&lt;link rel=&quot;apple-touch-icon&quot; href=&quot;shortcut.png&quot;&gt;はホームアイコンを設定するためのもの。</li>
</ul>
<pre class="brush: xml; title: ; notranslate">
&lt;head&gt;
	&lt;meta charset=&quot;UTF-8&quot;&gt;
	&lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no&quot;&gt;
	&lt;title&gt;タイトル&lt;/title&gt;
	&lt;link rel=&quot;stylesheet&quot; href=&quot;スタイルシートのパス&quot; type=&quot;text/css&quot;&gt;
	&lt;link rel=&quot;apple-touch-icon&quot; href=&quot;画像のパス&quot;&gt;
	&lt;script&gt;
		function doScroll() { if (window.pageYOffset === 0) { window.scrollTo(0,1); } }
		window.onload = function() { setTimeout(doScroll, 100); }
	&lt;/script&gt;
&lt;/head&gt;
</pre>
<h3>ホームアイコンを作成する</h3>
<p>ツヤツヤ処理とか角丸とかは勝手にiPhone側でやってくれるのでベタなデザインにする。</p>
<p><strong>画像サイズ</strong><br />
57×57ピクセル（但し、正方形であれば57ピクセル以上でも可）ただし、iPhone4は114&#215;114</p>
<p><strong>画像フォーマット</strong><br />
gif,jpg,png,bmpいずれも可</p>
]]></content:encoded>
			<wfw:commentRss>http://www.niwadesign.jp/archives/351/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>タグの機能</title>
		<link>http://www.niwadesign.jp/archives/83</link>
		<comments>http://www.niwadesign.jp/archives/83#comments</comments>
		<pubDate>Wed, 04 Feb 2009 12:37:56 +0000</pubDate>
		<dc:creator>takehito</dc:creator>
				<category><![CDATA[html]]></category>

		<guid isPermaLink="false">http://www.niwadesign.jp/?p=83</guid>
		<description><![CDATA[相対パスで記述されたURLのベース（基準）をhead内で指定すると画像やリンク先のパスがベース（基準）で指定されたURLを基準に表示されます。 今日初めて知りました。 下の図のような場合でも ■folder/index. &#8230;<p class="read-more"><a href="http://www.niwadesign.jp/archives/83">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<p>相対パスで記述されたURLのベース（基準）をhead内で指定すると画像やリンク先のパスがベース（基準）で指定されたURLを基準に表示されます。<br />
今日初めて知りました。</p>
<pre class="brush: xml; title: ; notranslate">
&lt;head&gt;
&lt;base href=&quot;http://www.niwadesign.jp/&quot;&gt;
&lt;/head&gt;
</pre>
<p>下の図のような場合でも</p>
<p><img src="http://www.niwadesign.jp/wp-content/uploads/2009/02/e38394e382afe38381e383a3-1.jpg" alt="e38394e382afe38381e383a3-1" title="e38394e382afe38381e383a3-1" width="146" height="83" class="alignnone size-full wp-image-84" /></p>
<p>■folder/index.html内の画像のパスの書き方</p>
<pre class="brush: xml; title: ; notranslate">
&lt;img src=&quot;images/logo.gif&quot; alt=&quot;ニワデザイン&quot; /&gt;
</pre>
<p>このように記述すると階層がちがってもオッケーってことです。</p>
<p>なにかで使えるかも！？</p>
]]></content:encoded>
			<wfw:commentRss>http://www.niwadesign.jp/archives/83/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
