<?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>Nicolas Kuttler &#187; border-radius</title>
	<atom:link href="http://www.nkuttler.de/tag/border-radius/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nkuttler.de</link>
	<description>WordPress Services, IT Services</description>
	<lastBuildDate>Wed, 28 Jul 2010 23:49:18 +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>About the CSS3 border radius property</title>
		<link>http://www.nkuttler.de/2008/10/23/border-radius-in-safari/</link>
		<comments>http://www.nkuttler.de/2008/10/23/border-radius-in-safari/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 22:47:27 +0000</pubDate>
		<dc:creator>nicolas</dc:creator>
				<category><![CDATA[Content Management]]></category>
		<category><![CDATA[border-radius]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[Webdesign]]></category>

		<guid isPermaLink="false">http://www.nkuttler.de//?p=302</guid>
		<description><![CDATA[So I have decided to use the CSS3 border-radius property on some sites. They are personal projects so I don&#8217;t care if they look a little worse on IE. After a few tweakings I&#8217;ve ended up with using things like this: #foo &#123; border-radius: 8px 4px 4px 8px; -moz-border-radius: 8px 4px 4px 8px; -webkit-border-radius: 8px [...]]]></description>
			<content:encoded><![CDATA[<p>So I have decided to use the CSS3 border-radius property on some sites. They are personal projects so I don&#8217;t care if they look a little worse on IE. After a few tweakings I&#8217;ve ended up with using things like this:<span id="more-302"></span></p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #cc00cc;">#foo</span> <span style="color: #00AA00;">&#123;</span>
    border-radius<span style="color: #00AA00;">:</span>          <span style="color: #933;">8px</span> <span style="color: #933;">4px</span> <span style="color: #933;">4px</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
    -moz-border-radius<span style="color: #00AA00;">:</span>     <span style="color: #933;">8px</span> <span style="color: #933;">4px</span> <span style="color: #933;">4px</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
    -webkit-border-radius<span style="color: #00AA00;">:</span>  <span style="color: #933;">8px</span> <span style="color: #933;">4px</span> <span style="color: #933;">4px</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
    -khtml-border-radius<span style="color: #00AA00;">:</span>   <span style="color: #933;">8px</span> <span style="color: #933;">4px</span> <span style="color: #933;">4px</span> <span style="color: #933;">8px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>No browser seems to support the first notation yet. That&#8217;s fine as CSS3 isn&#8217;t complete. However, mozilla, webkit and khtml-based browsers should be ok. IE and Opera will just ignore those.</p>
<p>The syntax differs in some details though, see for example:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">    -moz-border-radius-bottomleft<span style="color: #00AA00;">:</span>      <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
    -webkit-border-bottom-left-radius<span style="color: #00AA00;">:</span>  <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span></pre></div></div>

<p>Oh, and Safari doesn&#8217;t seem to support a radius given in percent, mozilla does:</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">    -webkit-border-bottom-left-radius<span style="color: #00AA00;">:</span>  <span style="color: #933;"><span style="color: #cc66cc;">10</span>%</span><span style="color: #00AA00;">;</span></pre></div></div>

<p>This doesn&#8217;t work for me in Safari.</p>
<p> By the way, this blog&#8217;s wordpress template uses CSS3 border radiuses. Hi IE users <img src='http://www.nkuttler.de/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><b>Update</b>: <a href="http://snook.ca/archives/html_and_css/ie-rounded/">This post</a> led me to <a href="http://dillerdesign.com/">Drew Diller</a>&#8216;s blog. He has an <a href="http://dillerdesign.com/experiment/DD_roundies/">interesting technique for rounded corners in IE</a>.  Another technique by <a href="http://www.htmlremix.com/">Remiz</a>: see <a href="http://www.htmlremix.com/curved-corner-border-radius-cross-browser/">other technique for rounded corners in IE</a>. Who knows, maybe I will be able to deploy sites that use border radiuses in the future, even if Microsoft has no plans for supporting them in IE8.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nkuttler.de/2008/10/23/border-radius-in-safari/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
