<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Border Imaging</title>
	<atom:link href="http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/feed/" rel="self" type="application/rss+xml" />
	<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/</link>
	<description>Things that Eric A. Meyer, CSS expert, writes about on his personal Web site; it&#039;s largely Web standards and Web technology, but also various bits of culture, politics, personal observations, and other miscellaneous stuff</description>
	<lastBuildDate>Fri, 10 May 2013 11:50:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: El Paso Web Design</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-538454</link>
		<dc:creator>El Paso Web Design</dc:creator>
		<pubDate>Fri, 18 Feb 2011 11:04:02 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-538454</guid>
		<description><![CDATA[Pretty neat effect, although I don&#039;t want to endure the cross browser headache until *cough* IE at least displays CSS 2.0 decently ;)]]></description>
		<content:encoded><![CDATA[<p>Pretty neat effect, although I don&#8217;t want to endure the cross browser headache until *cough* IE at least displays CSS 2.0 decently ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531314</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Tue, 25 Jan 2011 15:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531314</guid>
		<description><![CDATA[After some further thinking, I&#039;ve &lt;a href=&quot;http://lists.w3.org/Archives/Public/www-style/2011Jan/0512.html&quot; rel=&quot;nofollow&quot;&gt;posted about this on www-style&lt;/a&gt;.  We&#039;ll see if anything comes of it.  Thanks to everyone who took a crack at this!  Maybe I&#039;ll start a series called &quot;Complexquiz&quot;.]]></description>
		<content:encoded><![CDATA[<p>After some further thinking, I&#8217;ve <a href="http://lists.w3.org/Archives/Public/www-style/2011Jan/0512.html" rel="nofollow">posted about this on www-style</a>.  We&#8217;ll see if anything comes of it.  Thanks to everyone who took a crack at this!  Maybe I&#8217;ll start a series called &#8220;Complexquiz&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Todd</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531308</link>
		<dc:creator>Todd</dc:creator>
		<pubDate>Tue, 25 Jan 2011 14:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531308</guid>
		<description><![CDATA[When I tried using a 5x5 image, the corners would only show in FF 3.6.13 as well. Andy Clarke&#039;s technique works well as was stated (Opera/IE9 - no). &quot;Confused&quot; is only one word I would describe how I am when dealing with &lt;code&gt;border-image&lt;/code&gt;.

Something so simple, yet so confusing. Why bother having &lt;code&gt;border-image&lt;/code&gt; when it could be simplified and renamed?]]></description>
		<content:encoded><![CDATA[<p>When I tried using a 5&#215;5 image, the corners would only show in FF 3.6.13 as well. Andy Clarke&#8217;s technique works well as was stated (Opera/IE9 &#8211; no). &#8220;Confused&#8221; is only one word I would describe how I am when dealing with <code>border-image</code>.</p>
<p>Something so simple, yet so confusing. Why bother having <code>border-image</code> when it could be simplified and renamed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531274</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Tue, 25 Jan 2011 11:34:31 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531274</guid>
		<description><![CDATA[Germán,

Ah, pardon me. You&#039;re referring to the difference in the longhand notation. In that case, you&#039;re correct. I&#039;m a little puzzled at why they&#039;re doing that, but that&#039;s another issue.

But again that raises the question: What should we use for the standard syntax? Good point,though...]]></description>
		<content:encoded><![CDATA[<p>Germán,</p>
<p>Ah, pardon me. You&#8217;re referring to the difference in the longhand notation. In that case, you&#8217;re correct. I&#8217;m a little puzzled at why they&#8217;re doing that, but that&#8217;s another issue.</p>
<p>But again that raises the question: What should we use for the standard syntax? Good point,though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531273</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Tue, 25 Jan 2011 11:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531273</guid>
		<description><![CDATA[Germán, yes technically you&#039;re correct, but when you have something like &quot;5 0 round&quot; for Mozilla and &quot;5 round&quot; for WebKit, that is not very future-proof. What will you put in the standard syntax (the one with no prefix, that&#039;s supposed to be listed last)?

Also, it should be noted here that &quot;round&quot;, AFAIK, is not supported by WebKit. WebKit treats &quot;round&quot; as &quot;repeat&quot;. &quot;round&quot; is supposed to prevent the repeated image from being clipped at the corners. In my testing, Firefox removes the clipping, but WebKit does not.]]></description>
		<content:encoded><![CDATA[<p>Germán, yes technically you&#8217;re correct, but when you have something like &#8220;5 0 round&#8221; for Mozilla and &#8220;5 round&#8221; for WebKit, that is not very future-proof. What will you put in the standard syntax (the one with no prefix, that&#8217;s supposed to be listed last)?</p>
<p>Also, it should be noted here that &#8220;round&#8221;, AFAIK, is not supported by WebKit. WebKit treats &#8220;round&#8221; as &#8220;repeat&#8221;. &#8220;round&#8221; is supposed to prevent the repeated image from being clipped at the corners. In my testing, Firefox removes the clipping, but WebKit does not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: will</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531184</link>
		<dc:creator>will</dc:creator>
		<pubDate>Tue, 25 Jan 2011 03:43:12 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531184</guid>
		<description><![CDATA[Awesome demonstration! Border images are an excellent addition to CSS.

For anyone trying to quickly achieve a dotted line around without having to worry about border madness, just use the &quot;outline: &quot; property. I really think its a long-forgotten property, and slips right by internet explorer&#039;s typical disasters.]]></description>
		<content:encoded><![CDATA[<p>Awesome demonstration! Border images are an excellent addition to CSS.</p>
<p>For anyone trying to quickly achieve a dotted line around without having to worry about border madness, just use the &#8220;outline: &#8221; property. I really think its a long-forgotten property, and slips right by internet explorer&#8217;s typical disasters.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Meyer</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531131</link>
		<dc:creator>Eric Meyer</dc:creator>
		<pubDate>Mon, 24 Jan 2011 23:53:46 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531131</guid>
		<description><![CDATA[Well in that case, &lt;a href=&quot;http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531073&quot; rel=&quot;nofollow&quot;&gt;Tab&lt;/a&gt;, we should dump &lt;tt&gt;border-image&lt;/tt&gt; and its related properties entirely because we can do just about everything it does &lt;a href=&quot;http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/?#comment-531077&quot; rel=&quot;nofollow&quot;&gt;with multiple backgrounds, as Anton demonstrated&lt;/a&gt;.  And anything we can&#039;t do could be addressed by adding just an extra property or two, not the six that &lt;tt&gt;border-image&lt;/tt&gt; et al. require to do this very specific thing that can be accomplished by tweaking an existing solution.  Right?

Meantime, please don&#039;t accuse me of pretending things I&#039;m not, because it needlessly lowers the quality of the discussion.  I&#039;m not pretending it&#039;s hard to create a 3x3 grid image.  I&#039;m saying that the property name makes it counterintuitive that you have to do that for this simple and likely common effect, and that even once you&#039;ve gotten past that intuitive pothole it&#039;s a bit annoying to have to do it for simple cases that could literally be handled with a single property.  Which, if it were, would most appropriately called &lt;tt&gt;border-image&lt;/tt&gt;.  (Well, given CSS naming conventions.  I&#039;d personally find &lt;tt&gt;image-border&lt;/tt&gt; more appropriate but it&#039;d violate long-standing naming patterns.)]]></description>
		<content:encoded><![CDATA[<p>Well in that case, <a href="http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531073" rel="nofollow">Tab</a>, we should dump <tt>border-image</tt> and its related properties entirely because we can do just about everything it does <a href="http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/?#comment-531077" rel="nofollow">with multiple backgrounds, as Anton demonstrated</a>.  And anything we can&#8217;t do could be addressed by adding just an extra property or two, not the six that <tt>border-image</tt> et al. require to do this very specific thing that can be accomplished by tweaking an existing solution.  Right?</p>
<p>Meantime, please don&#8217;t accuse me of pretending things I&#8217;m not, because it needlessly lowers the quality of the discussion.  I&#8217;m not pretending it&#8217;s hard to create a 3&#215;3 grid image.  I&#8217;m saying that the property name makes it counterintuitive that you have to do that for this simple and likely common effect, and that even once you&#8217;ve gotten past that intuitive pothole it&#8217;s a bit annoying to have to do it for simple cases that could literally be handled with a single property.  Which, if it were, would most appropriately called <tt>border-image</tt>.  (Well, given CSS naming conventions.  I&#8217;d personally find <tt>image-border</tt> more appropriate but it&#8217;d violate long-standing naming patterns.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germán Martínez</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531120</link>
		<dc:creator>Germán Martínez</dc:creator>
		<pubDate>Mon, 24 Jan 2011 23:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531120</guid>
		<description><![CDATA[Louis,

I&#039;m not sure about that, we are using different syntaxes already:

-moz-border-radius-topright vs -webkit-border-top-right-radius

That&#039;s the advantage of vendor specific prefixes. We can achieve the same results using different syntaxes.

Anyway, it was just an experiment ;)]]></description>
		<content:encoded><![CDATA[<p>Louis,</p>
<p>I&#8217;m not sure about that, we are using different syntaxes already:</p>
<p>-moz-border-radius-topright vs -webkit-border-top-right-radius</p>
<p>That&#8217;s the advantage of vendor specific prefixes. We can achieve the same results using different syntaxes.</p>
<p>Anyway, it was just an experiment ;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emma Dobrescu</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531113</link>
		<dc:creator>Emma Dobrescu</dc:creator>
		<pubDate>Mon, 24 Jan 2011 23:05:18 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531113</guid>
		<description><![CDATA[I think the real problem is that it was planned/implemented as a stretching background image. I remember trying it when it was implemented and being peeved with the fact that by default it would set the middle part of that image as the element&#039;s background. You have to plan it carefully and draw pixels and calculate, because the algorithm is not the same and whatever might repeat - err, pardon me - stretch beautifully in WebKit, has many chances to be mismatched in  Gecko. It reminds me of the so many image workarounds that were used along the time for shadows, rounded corners etc. I&#039;ll admit that it encourages creativity. But whoever found this logical for a border has a very twisted mind. I don&#039;t expect it to work with the same code in all browsers(and why should I, they are different pieces of software), but at least one way to make it work for each of them? Without pushing pixels around?]]></description>
		<content:encoded><![CDATA[<p>I think the real problem is that it was planned/implemented as a stretching background image. I remember trying it when it was implemented and being peeved with the fact that by default it would set the middle part of that image as the element&#8217;s background. You have to plan it carefully and draw pixels and calculate, because the algorithm is not the same and whatever might repeat &#8211; err, pardon me &#8211; stretch beautifully in WebKit, has many chances to be mismatched in  Gecko. It reminds me of the so many image workarounds that were used along the time for shadows, rounded corners etc. I&#8217;ll admit that it encourages creativity. But whoever found this logical for a border has a very twisted mind. I don&#8217;t expect it to work with the same code in all browsers(and why should I, they are different pieces of software), but at least one way to make it work for each of them? Without pushing pixels around?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin Sutherland</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531111</link>
		<dc:creator>Martin Sutherland</dc:creator>
		<pubDate>Mon, 24 Jan 2011 23:00:35 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531111</guid>
		<description><![CDATA[Here&#039;s an alternative, using generated content to create nested artificial block-level elements inside the original paragraph: http://sunpig.com/martin/code/2011/borderimage/index.html

Not quite what you were looking for, but it&#039;s an amusing workaround.  Works in FF, Chrome, Safari, and Opera; haven&#039;t tried IE9.]]></description>
		<content:encoded><![CDATA[<p>Here&#8217;s an alternative, using generated content to create nested artificial block-level elements inside the original paragraph: <a href="http://sunpig.com/martin/code/2011/borderimage/index.html" rel="nofollow">http://sunpig.com/martin/code/2011/borderimage/index.html</a></p>
<p>Not quite what you were looking for, but it&#8217;s an amusing workaround.  Works in FF, Chrome, Safari, and Opera; haven&#8217;t tried IE9.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531109</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Mon, 24 Jan 2011 22:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531109</guid>
		<description><![CDATA[Germán, that is quite interesting. The problem is, even if you were able to get it to work the same, it would be pointless unless the code was exactly the same for all browser.

One of the rendering engines is doing something wrong here, and the spec doesn&#039;t seem to indicate which one (although I haven&#039;t examined it in enough detail to say for certain).]]></description>
		<content:encoded><![CDATA[<p>Germán, that is quite interesting. The problem is, even if you were able to get it to work the same, it would be pointless unless the code was exactly the same for all browser.</p>
<p>One of the rendering engines is doing something wrong here, and the spec doesn&#8217;t seem to indicate which one (although I haven&#8217;t examined it in enough detail to say for certain).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germán Martínez</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531105</link>
		<dc:creator>Germán Martínez</dc:creator>
		<pubDate>Mon, 24 Jan 2011 22:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531105</guid>
		<description><![CDATA[Eric,

So far I have achieved to show the whole border in webkit but only two borders in Opera and FF (top &amp; bottom or left &amp; right).

Maybe that&#039;s a start and someone with more experience than me can finish the work.
(there must be a way!)

Here&#039;s the code:

section p	{
padding: 5px 10px;

/* webkit: done */
-webkit-border-image: url(border-image-question.png) 5 round;

/* moz: ?? */
-moz-border-image: url(border-image-question.png) 5 0 round;

/* opera: ?? */ 
-o-border-image: url(border-image-question.png) 5 0 round;

border-image: url(border-image-question.png) 5 round;
border-width: 5px;
}

The code is here: http://martinez.pe/meyerchallenge/]]></description>
		<content:encoded><![CDATA[<p>Eric,</p>
<p>So far I have achieved to show the whole border in webkit but only two borders in Opera and FF (top &amp; bottom or left &amp; right).</p>
<p>Maybe that&#8217;s a start and someone with more experience than me can finish the work.<br />
(there must be a way!)</p>
<p>Here&#8217;s the code:</p>
<p>section p	{<br />
padding: 5px 10px;</p>
<p>/* webkit: done */<br />
-webkit-border-image: url(border-image-question.png) 5 round;</p>
<p>/* moz: ?? */<br />
-moz-border-image: url(border-image-question.png) 5 0 round;</p>
<p>/* opera: ?? */<br />
-o-border-image: url(border-image-question.png) 5 0 round;</p>
<p>border-image: url(border-image-question.png) 5 round;<br />
border-width: 5px;<br />
}</p>
<p>The code is here: <a href="http://martinez.pe/meyerchallenge/" rel="nofollow">http://martinez.pe/meyerchallenge/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germán Martínez</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531085</link>
		<dc:creator>Germán Martínez</dc:creator>
		<pubDate>Mon, 24 Jan 2011 21:38:48 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531085</guid>
		<description><![CDATA[You&#039;re right Louis, that &quot;100&quot; is not necessary.
I do think there must be a solution, but I guess it will be a hack.
I&#039;m trying to achieve the same thing in FF4 and Opera, no luck so far :(]]></description>
		<content:encoded><![CDATA[<p>You&#8217;re right Louis, that &#8220;100&#8243; is not necessary.<br />
I do think there must be a solution, but I guess it will be a hack.<br />
I&#8217;m trying to achieve the same thing in FF4 and Opera, no luck so far :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dominic</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531081</link>
		<dc:creator>dominic</dc:creator>
		<pubDate>Mon, 24 Jan 2011 21:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531081</guid>
		<description><![CDATA[* replace &quot;the most intuitive&quot; with &quot;immediately obvious&quot;]]></description>
		<content:encoded><![CDATA[<p>* replace &#8220;the most intuitive&#8221; with &#8220;immediately obvious&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://meyerweb.com/eric/thoughts/2011/01/24/border-imaging/#comment-531079</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Mon, 24 Jan 2011 21:28:02 +0000</pubDate>
		<guid isPermaLink="false">http://meyerweb.com/eric/thoughts/?p=1464#comment-531079</guid>
		<description><![CDATA[Germán&#039;s example will work with any value of 5 or higher for the offset (i.e. the &quot;100&quot; that he&#039;s using is not necessary -- just use Chrome&#039;s developer tools to change it on the fly to &quot;5&quot; and it will not affect the output).

But the same code (with -moz) still does not work in Firefox (in my testing), so I don&#039;t think that&#039;s a solution.]]></description>
		<content:encoded><![CDATA[<p>Germán&#8217;s example will work with any value of 5 or higher for the offset (i.e. the &#8220;100&#8243; that he&#8217;s using is not necessary &#8212; just use Chrome&#8217;s developer tools to change it on the fly to &#8220;5&#8243; and it will not affect the output).</p>
<p>But the same code (with -moz) still does not work in Firefox (in my testing), so I don&#8217;t think that&#8217;s a solution.</p>
]]></content:encoded>
	</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! -->