<?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>Josef Richter &#187; webdesign</title>
	<atom:link href="http://www.josefrichter.com/blog/category/webdesign/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.josefrichter.com/blog</link>
	<description>blogging about the world around</description>
	<lastBuildDate>Sun, 25 Jul 2010 17:20:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>IE6 no more. And IE7 and IE8&#8230;</title>
		<link>http://www.josefrichter.com/blog/ie6-no-more-and-ie7-and-ie8/</link>
		<comments>http://www.josefrichter.com/blog/ie6-no-more-and-ie7-and-ie8/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 19:56:58 +0000</pubDate>
		<dc:creator>Josef Richter</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[safari]]></category>

		<guid isPermaLink="false">http://www.josefrichter.com/blog/?p=225</guid>
		<description><![CDATA[UPDATE: now with new Opera icon You may have heard about the IE 6 no more initiative. It asks webmasters to put a banner on their page, which detects Internet Explorer 6 and suggests to download &#8216;a modern browser&#8217; instead. While I generally support the initiative, the banners are unusable for me. One of the [...]]]></description>
			<content:encoded><![CDATA[<p>UPDATE: now with new Opera icon</p>
<p>You may have heard about the <a href="http://www.ie6nomore.com/">IE 6 no more</a> initiative. It asks webmasters to put a banner on their page, which detects Internet Explorer 6 and suggests to download &#8216;a modern browser&#8217; instead.</p>
<p>While I generally support the initiative, the banners are unusable for me. One of the browsers suggested is Internet Explorer 8. I would never ever dare to suggest anyone using any version of Internet Explorer made so far. So I made my version of the banner:</p>
<div style="text-align: center; clear: both; height: 49px; padding-bottom: 1px; position: relative;">
<div style="width: 450px; border: 1px solid #f0f0f0; background: #f0f0f0; margin: 0 auto; text-align: left; padding: 0 10px 0 10px; overflow: hidden; color: black;">
<div style="width: 60px; float: left;">
			<img src="http://www.josefrichter.com/noie/warn_50.png" alt="Warning!">
		</div>
<div style="width: 230px; float: left; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;">
<div style="font-size: 11px; font-weight: bold; margin-top: 4px; color: #c00;">
				You are using a subprime browser
			</div>
<div style="font-size: 10px; margin-top: 0px; line-height: 13px; color: #666;">
				It may render this site incorrectly. Please upgrade to a modern web browser.
			</div>
</p></div>
<div style="width: 40px; float: left;">
			<a href="http://www.google.com/chrome" target="_blank"><img style="border: none;" src="http://www.josefrichter.com/noie/chrome_50.png" alt="Get Google Chrome"></a>
		</div>
<div style="width: 40px; float: left;">
			<a href="http://www.firefox.com" target="_blank"><img style="border: none;" src="http://www.josefrichter.com/noie/firefox_50.png" alt="Get Firefox"></a>
		</div>
<div style="width: 40px; float: left;">
			<a href="http://www.apple.com/safari/download/" target="_blank"><img style="border: none;" src="http://www.josefrichter.com/noie/safari_50.png" alt="Get Safari"></a>
		</div>
<div style="width: 40px; float: left;">
			<a href="http://www.opera.com/download" target="_blank"><img style="border: none;" src="http://www.josefrichter.com/noie/opera_50.png" alt="Get Opera"></a>
		</div>
</p></div>
</div>
<p>&nbsp;
</p>
<p>What&#8217;s different?</p>
<ul>
<li>It shows up to users of all versions of IE. Yes, including those with IE8.</li>
<li>It suggests Opera instead of IE8, along with FIrefox, Safari and Chrome</li>
</ul>
<p>I also changed the design a bit to be more minimalist. Feel free to grab the below code and put it on your website. The images are hosted here, so you don&#8217;t need to download them (but feel free to do so). You can also adjust the code to better match your website design.</p>
<p>I made two sizes of the banner: 640&#215;75 and 470&#215;50 (for this blog).</p>
<p>So here is the code for 640&#215;75 banner:</p>
<div style="font-size: 10px;">
<pre class="brush: html; wrap-lines: true; gutter: false; auto-links: false; font-size: 5%; tab-size: 2;">
&lt;!--[if IE]&gt;
	&lt;div style="text-align: center; clear: both; height: 74px; padding-bottom: 1px; position: relative;"&gt;
  &lt;div style="width: 620px; border: 1px solid #f0f0f0; background: #f0f0f0; margin: 0 auto; text-align: left; padding: 0 10px 0 10px; overflow: hidden; color: black;"&gt;
    &lt;div style="width: 80px; float: left;"&gt;&lt;img src="http://www.josefrichter.com/noie/warn_75.png" alt="Warning!"/&gt;&lt;/div&gt;
    &lt;div style="width: 300px; float: left; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;"&gt;
      &lt;div style="font-size: 14px; font-weight: bold; margin-top: 12px; color: #c00;"&gt;You are using a subprime browser&lt;/div&gt;
      &lt;div style="font-size: 12px; margin-top: 2px; line-height: 16px; color: #666;"&gt;It may render this site incorrectly. &lt;br /&gt;Please upgrade to a modern web browser.&lt;/div&gt;
    &lt;/div&gt;
		&lt;div style="width: 60px; float: left;"&gt;&lt;a href="http://www.google.com/chrome" target="_blank"&gt;&lt;img src="http://www.josefrichter.com/noie/chrome_75.png" style="border: none;" alt="Get Google Chrome"/&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;div style="width: 60px; float: left;"&gt;&lt;a href="http://www.firefox.com" target="_blank"&gt;&lt;img src="http://www.josefrichter.com/noie/firefox_75.png" style="border: none;" alt="Get Firefox"/&gt;&lt;/a&gt;&lt;/div&gt;
    &lt;div style="width: 60px; float: left;"&gt;&lt;a href="http://www.apple.com/safari/download/" target="_blank"&gt;&lt;img src="http://www.josefrichter.com/noie/safari_75.png" style="border: none;" alt="Get Safari"/&gt;&lt;/a&gt;&lt;/div&gt;
		&lt;div style="width: 60px; float: left;"&gt;&lt;a href="http://www.opera.com/download" target="_blank"&gt;&lt;img src="http://www.josefrichter.com/noie/opera_75.png" style="border: none;" alt="Get Opera"/&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;![endif]--&gt;
</pre>
</div>
<p>and here for the 470&#215;50 version:</p>
<div style="font-size: 10px;">
<pre class="brush: html; wrap-lines: true; gutter: false; auto-links: false; font-size: 5%; tab-size: 2;">
&lt;!--[if IE]&gt;
&lt;div style="text-align: center; clear: both; height: 49px; padding-bottom: 1px; position: relative;"&gt;
	&lt;div style="width: 450px; border: 1px solid #f0f0f0; background: #f0f0f0; margin: 0 auto; text-align: left; padding: 0 10px 0 10px; overflow: hidden; color: black;"&gt;
		&lt;div style="width: 60px; float: left;"&gt;
			&lt;img src="http://www.josefrichter.com/noie/warn_50.png" alt="Warning!"&gt;
		&lt;/div&gt;
		&lt;div style="width: 230px; float: left; font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;"&gt;
			&lt;div style="font-size: 11px; font-weight: bold; margin-top: 4px; color: #c00;"&gt;
				You are using a subprime browser
			&lt;/div&gt;
			&lt;div style="font-size: 10px; margin-top: 0px; line-height: 13px; color: #666;"&gt;
				It may render this site incorrectly. Please upgrade to a modern web browser.
			&lt;/div&gt;
		&lt;/div&gt;
		&lt;div style="width: 40px; float: left;"&gt;
			&lt;a href="http://www.google.com/chrome" target="_blank"&gt;&lt;img style="border: none;" src="http://www.josefrichter.com/noie/chrome_50.png" alt="Get Google Chrome"&gt;&lt;/a&gt;
		&lt;/div&gt;
		&lt;div style="width: 40px; float: left;"&gt;
			&lt;a href="http://www.firefox.com" target="_blank"&gt;&lt;img style="border: none;" src="http://www.josefrichter.com/noie/firefox_50.png" alt="Get Firefox"&gt;&lt;/a&gt;
		&lt;/div&gt;
		&lt;div style="width: 40px; float: left;"&gt;
			&lt;a href="http://www.apple.com/safari/download/" target="_blank"&gt;&lt;img style="border: none;" src="http://www.josefrichter.com/noie/safari_50.png" alt="Get Safari"&gt;&lt;/a&gt;
		&lt;/div&gt;
		&lt;div style="width: 40px; float: left;"&gt;
			&lt;a href="http://www.opera.com/download" target="_blank"&gt;&lt;img style="border: none;" src="http://www.josefrichter.com/noie/opera_50.png" alt="Get Opera"&gt;&lt;/a&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;![endif]--&gt;
</pre>
</div>
<p>Please leave a comment if you like it. Thank you and enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josefrichter.com/blog/ie6-no-more-and-ie7-and-ie8/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS positioning with vertical spacers</title>
		<link>http://www.josefrichter.com/blog/css-postitioning-with-vertical-spacers/</link>
		<comments>http://www.josefrichter.com/blog/css-postitioning-with-vertical-spacers/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 09:54:44 +0000</pubDate>
		<dc:creator>Josef Richter</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[positioning]]></category>
		<category><![CDATA[spacing]]></category>

		<guid isPermaLink="false">http://www.josefrichter.com/blog/?p=217</guid>
		<description><![CDATA[Making layouts in CSS is a real pain. To me it&#8217;s like cleaning toilet with a toothbrush &#8211; it can be done, you can even achieve great results, but you would probably choose different tool if you could&#8230; The community, including Eric Meyer and Shaun Inman obviously longs for a real layout system. Before we [...]]]></description>
			<content:encoded><![CDATA[<p>Making layouts in CSS is a real pain. To me it&#8217;s like cleaning toilet with a toothbrush &#8211; it can be done, you can even achieve great results, but you would probably choose different tool if you could&#8230; The <a href="http://fantasai.inkedblade.net/style/discuss/wasp-feedback-2008#layout">community</a>, including <a href="http://meyerweb.com/eric/thoughts/2009/02/17/wanted-layout-system/">Eric Meyer</a> and <a href="http://css-tricks.com/css-wishlist/">Shaun Inman</a> obviously longs for a real layout system.</p>
<p>Before we get one, if ever, everyone&#8217;s using various hacks. Here is mine &#8211; the vertical spacers. I use Blueprint or 960.gs for layout and horizontal positioning and supplement them with this easy piece of html+css. If you need lots of irregular vertical spacing, like  me in the below screenshot with arrows where vertical spacing is needed, this might help.</p>
<p><a href="http://www.josefrichter.com/blog/wp-content/uploads/Voila_Capture32.jpg"><img src="http://www.josefrichter.com/blog/wp-content/uploads/Voila_Capture32-500x398.jpg" alt="css vertical spacing" title="css vertical spacing" width="500" height="398" class="alignnone size-large wp-image-219" /></a></p>
<p>So the code is really simple. First we define css classes:</p>
<div style="font-size: 10px;">
<pre class="brush: css; gutter: false; auto-links: false; font-size: 5%; tab-size: 2;">
.h10 {
	margin-top: 10px;
}

.h20 {
	margin-top: 20px;
}

.h50 {
	margin-top: 50px;
}

.h100 {
	margin-top: 100px;
}

hr {
	visibility: hidden;
	clear: both;
}
</pre>
</div>
<p>The usage in HTML may be as follows:</p>
<div style="font-size: 10px;">
<pre class="brush: html; gutter: false; auto-links: false; font-size: 5%; tab-size: 2;">
<hr class="h100" />
<hr class="h50" />
</pre>
</div>
<p>As you can see you can get various heights by combining the classes. Hardcore CSS proponents may say HTML shall not bear any formatting info. Well, this might be true, but in my view it&#8217;s pure theory. Most CSS frameworks breach this rule as well and as long as CSS is so bad for layouting, I don&#8217;t care.</p>
<p>Enjoy! If you have any suggestions how to develop this method please leave a comment. Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josefrichter.com/blog/css-postitioning-with-vertical-spacers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MooTools Rabid Ratings with stars</title>
		<link>http://www.josefrichter.com/blog/mootools-rabid-ratings-with-stars/</link>
		<comments>http://www.josefrichter.com/blog/mootools-rabid-ratings-with-stars/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 09:15:45 +0000</pubDate>
		<dc:creator>Josef Richter</dc:creator>
				<category><![CDATA[user interface]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[hearts]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[mootools]]></category>
		<category><![CDATA[png]]></category>
		<category><![CDATA[rabid]]></category>
		<category><![CDATA[rating]]></category>
		<category><![CDATA[stars]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://richter.wordpress.com/?p=25</guid>
		<description><![CDATA[I used Michelle Steigerwalt&#8217;s rating system in a recent project, but wanted to have simple stars with no effects instead of hearts. This is an easy exercise in Photoshop, but for those of you who don&#8217;t have Photoshop and/or don&#8217;t know how to do their version, here is the star version for download (or use [...]]]></description>
			<content:encoded><![CDATA[<p>I used Michelle Steigerwalt&#8217;s rating system in a recent project, but wanted to have simple stars with no effects instead of hearts. This is an easy exercise in Photoshop, but for those of you who don&#8217;t have Photoshop and/or don&#8217;t know how to do their version, <a href="http://www.box.net/shared/axaah9j61p">here is the star version for download</a> (or use widget in sidebar).  The result looks like this (static here&#8230;):</p>
<p><a href="http://richter.files.wordpress.com/2008/11/picture-15.png"><img class="alignnone size-full wp-image-26" title="picture-15" src="http://richter.files.wordpress.com/2008/11/picture-15.png" alt="picture-15" width="126" height="32" /></a> <a href="http://richter.files.wordpress.com/2008/11/picture-14.png"><img class="alignnone size-full wp-image-27" title="picture-14" src="http://richter.files.wordpress.com/2008/11/picture-14.png" alt="picture-14" width="126" height="32" /></a></p>
<p>Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josefrichter.com/blog/mootools-rabid-ratings-with-stars/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto-fit background image in CSS</title>
		<link>http://www.josefrichter.com/blog/auto-fit-background-image-in-css/</link>
		<comments>http://www.josefrichter.com/blog/auto-fit-background-image-in-css/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 21:35:47 +0000</pubDate>
		<dc:creator>Josef Richter</dc:creator>
				<category><![CDATA[webdesign]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[resize]]></category>

		<guid isPermaLink="false">http://richter.wordpress.com/?p=14</guid>
		<description><![CDATA[I was trying to implement a background image which automatically resizes with the browser window. I was inspired by this lovely site: http://www.ringvemedia.com/. I googled out some solutions, however, none of them seemed to work just right. After few experiments, I arrived to this solution, which seems to be working so far: UPDATE: also removed [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to implement a background image which automatically resizes with the browser window. I was inspired by this lovely site: <a href="http://www.ringvemedia.com/" target="_self">http://www.ringvemedia.com/</a>. I googled out some solutions, however, none of them seemed to work just right. After few experiments, I arrived to this solution, which seems to be working so far:</p>
<p>UPDATE: also removed the scrollbars</p>
<blockquote><p>
body {<br />
overflow-y: hidden ! important;<br />
overflow-x auto ! important;<br />
}</p>
<p>#background {<br />
width: 100%;<br />
left: 0px;<br />
top: 0px;<br />
position: absolute;<br />
z-index: 0;<br />
}</p>
<p>#content {<br />
z-index: 2;<br />
position: absolute;<br />
}</p>
<p>#background img { width: 100%; }</p>
<p>&lt;div id=&#8221;background&#8221;&gt;<br />
&lt;img src=&#8221;images/bg1.jpg&#8221; /&gt;<br />
&lt;/div&gt;&lt;!&#8211; end #background &#8211;&gt;</p>
<p>&lt;div id=&#8221;content&#8221;&gt;Lorem ipsum&lt;/div&gt;</p></blockquote>
<p>update: this solution is implemented at http://www.lachmani.cz/ &#8211; check it out!</p>
<p>Any better solutions out there? Any suggestions how to improve it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.josefrichter.com/blog/auto-fit-background-image-in-css/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
