<?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: Simple Round Corners in CSS (revisited)</title>
	<atom:link href="http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/</link>
	<description>Internet Marketing, Website Promotion and Blogging Advice</description>
	<lastBuildDate>Thu, 11 Mar 2010 15:25:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Paul Davis</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81563</link>
		<dc:creator>Paul Davis</dc:creator>
		<pubDate>Tue, 05 Aug 2008 16:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81563</guid>
		<description>Your my hero...

That fixed it, the boxfloat was there originally as a holder so I could manage the spacing between the elements. But I can do that right in the .box css as well....

I&#039;m having them convert over the images to png 8 which should make us good to go.

Thank you for your help...

-Paul-</description>
		<content:encoded><![CDATA[<p>Your my hero&#8230;</p>
<p>That fixed it, the boxfloat was there originally as a holder so I could manage the spacing between the elements. But I can do that right in the .box css as well&#8230;.</p>
<p>I&#8217;m having them convert over the images to png 8 which should make us good to go.</p>
<p>Thank you for your help&#8230;</p>
<p>-Paul-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81556</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Tue, 05 Aug 2008 15:57:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81556</guid>
		<description>HI Paul,

IE7 doesn&#039;t like the fact that .boxfloat is floated without a width. Either give it a width (e.g. 100%) or remove the float altogether as it doesn&#039;t look like you need it in that type of situation.

For IE6 you can use png 8 as mentioned in this article which should give pretty good results.

Hope that helps :)</description>
		<content:encoded><![CDATA[<p>HI Paul,</p>
<p>IE7 doesn&#8217;t like the fact that .boxfloat is floated without a width. Either give it a width (e.g. 100%) or remove the float altogether as it doesn&#8217;t look like you need it in that type of situation.</p>
<p>For IE6 you can use png 8 as mentioned in this article which should give pretty good results.</p>
<p>Hope that helps <img src='http://www.search-this.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Davis</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81546</link>
		<dc:creator>Paul Davis</dc:creator>
		<pubDate>Tue, 05 Aug 2008 15:09:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81546</guid>
		<description>Hi Paul...

Yep, we are in the middle of a whole site re-design so it took a bit to get it moved over to the test servers (still setting stuff up).

But you can see it here, I left it in one of our template pages we use for the designers, it&#039;s the second box in the center column (the only one with blue). It&#039;s CSS is actually in the main html file, I had not moved it off just yet.

http://testipco.idahopower.com/boxtest.cfm

it&#039;s odd because it only has that problem in IE7, we are thinking that we will have to do something different for IE6, like transparent Gifs or something...

Thanks

-Paul-</description>
		<content:encoded><![CDATA[<p>Hi Paul&#8230;</p>
<p>Yep, we are in the middle of a whole site re-design so it took a bit to get it moved over to the test servers (still setting stuff up).</p>
<p>But you can see it here, I left it in one of our template pages we use for the designers, it&#8217;s the second box in the center column (the only one with blue). It&#8217;s CSS is actually in the main html file, I had not moved it off just yet.</p>
<p><a href="http://testipco.idahopower.com/boxtest.cfm" rel="nofollow">http://testipco.idahopower.com/boxtest.cfm</a></p>
<p>it&#8217;s odd because it only has that problem in IE7, we are thinking that we will have to do something different for IE6, like transparent Gifs or something&#8230;</p>
<p>Thanks</p>
<p>-Paul-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81508</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Tue, 05 Aug 2008 11:20:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81508</guid>
		<description>Hi Paul, any chance you can put it online as I always like to work with a real copy before I start looking at the code in detail.

It could be any number of things for IE7 but it looks like &quot;haslayout&quot; issues are already covered. I can&#039;t see anything obvious so I&#039;m sure there&#039;s an easy fix.</description>
		<content:encoded><![CDATA[<p>Hi Paul, any chance you can put it online as I always like to work with a real copy before I start looking at the code in detail.</p>
<p>It could be any number of things for IE7 but it looks like &#8220;haslayout&#8221; issues are already covered. I can&#8217;t see anything obvious so I&#8217;m sure there&#8217;s an easy fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Davis</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81381</link>
		<dc:creator>Paul Davis</dc:creator>
		<pubDate>Tue, 05 Aug 2008 00:19:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81381</guid>
		<description>So I got it working on Firefox, IE6, safari mac but on IE7 the rounded corners do not show up. Not sure why just yet, I can view them in IE7 by putting them inthe URL. 

I&#039;ll see if I can find a place to stick this so you can see it online, it looks good other than that little issue.

here is the CSS in case something sticks out (the images are just 2 pixel corners).

Thanks

-Paul-


.boxfloat
	{
	padding:0px;
	margin:0px;
	margin-top:12px;
	float:left;
	}
	
.box
	{
	width:auto;
	background:#fff;
	padding:0 9px;
	margin:0px auto;
	position:relative;
	border:2px solid #fff;/* stop margin collapse*/
	border-left:2px solid #64a0c8;
	border-right:2px solid #64a0c8;
	z-index:2;
	min-height:0;/* ie7 haslayout fix*/
	}
.inner
	{
	background:#fff;
	padding:10px 0;
	margin:-10px 0;
	min-height:0;/* ie7 haslayout issues fix*/
	position:relative;
	border-top:2px solid #64a0c8;
	border-bottom:2px solid #64a0c8;
	z-index:2
	}
	
* html .inner, * html .box
	{
	height:1px
	}/* ie6 haslayout issues fix*/
	
.top,.base
	{
	margin:-12px -11px 0;
	background:url(/images/boxes/tipbox/topLeft.png) no-repeat left top;
	height:12px;
	position:relative;
	font-size:12px;
	clear:both;
	z-index:-1;/* drag corner under background*/
	}
	
.base
	{
	background:url(/images/boxes/tipbox/bottomLeft.png) no-repeat left top;	
	background-position:left bottom;
	margin:0 -11px -12px;
	}
	
.top span,.base span
	{
	background:url(/images/boxes/tipbox/topRight.png) no-repeat right top;
	display:block;
	height:12px;
	font-size:12px;
	}
	
.base span
	{
	background:url(/images/boxes/tipbox/bottomright.png) no-repeat bottom right;		
	}
	
.content
	{
	width:100%;
	background:#fFf;
	margin:-8px -1px -10px 2px;
	}
	
* html .content
	{
	margin:-12px 0
	}/* ie fails again*/
	
*+html .content
	{
	margin:-9px 0
	}/* ie7*/

</description>
		<content:encoded><![CDATA[<p>So I got it working on Firefox, IE6, safari mac but on IE7 the rounded corners do not show up. Not sure why just yet, I can view them in IE7 by putting them inthe URL. </p>
<p>I&#8217;ll see if I can find a place to stick this so you can see it online, it looks good other than that little issue.</p>
<p>here is the CSS in case something sticks out (the images are just 2 pixel corners).</p>
<p>Thanks</p>
<p>-Paul-</p>
<p>.boxfloat<br />
	{<br />
	padding:0px;<br />
	margin:0px;<br />
	margin-top:12px;<br />
	float:left;<br />
	}</p>
<p>.box<br />
	{<br />
	width:auto;<br />
	background:#fff;<br />
	padding:0 9px;<br />
	margin:0px auto;<br />
	position:relative;<br />
	border:2px solid #fff;/* stop margin collapse*/<br />
	border-left:2px solid #64a0c8;<br />
	border-right:2px solid #64a0c8;<br />
	z-index:2;<br />
	min-height:0;/* ie7 haslayout fix*/<br />
	}<br />
.inner<br />
	{<br />
	background:#fff;<br />
	padding:10px 0;<br />
	margin:-10px 0;<br />
	min-height:0;/* ie7 haslayout issues fix*/<br />
	position:relative;<br />
	border-top:2px solid #64a0c8;<br />
	border-bottom:2px solid #64a0c8;<br />
	z-index:2<br />
	}</p>
<p>* html .inner, * html .box<br />
	{<br />
	height:1px<br />
	}/* ie6 haslayout issues fix*/</p>
<p>.top,.base<br />
	{<br />
	margin:-12px -11px 0;<br />
	background:url(/images/boxes/tipbox/topLeft.png) no-repeat left top;<br />
	height:12px;<br />
	position:relative;<br />
	font-size:12px;<br />
	clear:both;<br />
	z-index:-1;/* drag corner under background*/<br />
	}</p>
<p>.base<br />
	{<br />
	background:url(/images/boxes/tipbox/bottomLeft.png) no-repeat left top;<br />
	background-position:left bottom;<br />
	margin:0 -11px -12px;<br />
	}</p>
<p>.top span,.base span<br />
	{<br />
	background:url(/images/boxes/tipbox/topRight.png) no-repeat right top;<br />
	display:block;<br />
	height:12px;<br />
	font-size:12px;<br />
	}</p>
<p>.base span<br />
	{<br />
	background:url(/images/boxes/tipbox/bottomright.png) no-repeat bottom right;<br />
	}</p>
<p>.content<br />
	{<br />
	width:100%;<br />
	background:#fFf;<br />
	margin:-8px -1px -10px 2px;<br />
	}</p>
<p>* html .content<br />
	{<br />
	margin:-12px 0<br />
	}/* ie fails again*/</p>
<p>*+html .content<br />
	{<br />
	margin:-9px 0<br />
	}/* ie7*/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Davis</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81344</link>
		<dc:creator>Paul Davis</dc:creator>
		<pubDate>Mon, 04 Aug 2008 21:06:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81344</guid>
		<description>Thanks Paul....

It&#039;s always the simple ideas that are the hardest to figure out :)

That&#039;s a perfect solution, we are using the other standard for everything else on the site so for now I&#039;ll just do this for CSS pop-ups (we need to be able to tell customers when the site is going into maintenance and when there are power warnings and such). But now that the designers know we can do transparent corners their little minds are cooking up all kinds of new ways to make my life difficult :)

Thank You

-Paul-</description>
		<content:encoded><![CDATA[<p>Thanks Paul&#8230;.</p>
<p>It&#8217;s always the simple ideas that are the hardest to figure out <img src='http://www.search-this.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>That&#8217;s a perfect solution, we are using the other standard for everything else on the site so for now I&#8217;ll just do this for CSS pop-ups (we need to be able to tell customers when the site is going into maintenance and when there are power warnings and such). But now that the designers know we can do transparent corners their little minds are cooking up all kinds of new ways to make my life difficult <img src='http://www.search-this.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thank You</p>
<p>-Paul-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81335</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Mon, 04 Aug 2008 20:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81335</guid>
		<description>Hi Paul,

Rather than complicating it with the one or two image method just use the usual 4 images (quarter image segments) for each corner and you won&#039;t have to worry about any clever trickery.

All you have to do then is where the code originally specified a different background position for the same image you just supply a new image instead.

This will save you having to hide any parts of the image.</description>
		<content:encoded><![CDATA[<p>Hi Paul,</p>
<p>Rather than complicating it with the one or two image method just use the usual 4 images (quarter image segments) for each corner and you won&#8217;t have to worry about any clever trickery.</p>
<p>All you have to do then is where the code originally specified a different background position for the same image you just supply a new image instead.</p>
<p>This will save you having to hide any parts of the image.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Davis</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-81309</link>
		<dc:creator>Paul Davis</dc:creator>
		<pubDate>Mon, 04 Aug 2008 18:11:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-81309</guid>
		<description>This is very cool...

Unfortunately I need borders (nothing can ever be easy), didn&#039;t like the hack version, so I&#039;m working on the two image version. what I&#039;d like to see is a sample for that, i&#039;m not a CSS guru so I&#039;m still debating where to put the second set of images to overwrite the remaining image pieces.

But this is so very cool...

Again, great work...

Thank You

-Paul-</description>
		<content:encoded><![CDATA[<p>This is very cool&#8230;</p>
<p>Unfortunately I need borders (nothing can ever be easy), didn&#8217;t like the hack version, so I&#8217;m working on the two image version. what I&#8217;d like to see is a sample for that, i&#8217;m not a CSS guru so I&#8217;m still debating where to put the second set of images to overwrite the remaining image pieces.</p>
<p>But this is so very cool&#8230;</p>
<p>Again, great work&#8230;</p>
<p>Thank You</p>
<p>-Paul-</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-37533</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Fri, 01 Feb 2008 14:02:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-37533</guid>
		<description>Hi Patrick,

It&#039;s done in Fireworks. You can read how to do it in Alex&#039;s article on Sitepoint.

http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/

There is also an open source link in post #1 above.</description>
		<content:encoded><![CDATA[<p>Hi Patrick,</p>
<p>It&#8217;s done in Fireworks. You can read how to do it in Alex&#8217;s article on Sitepoint.</p>
<p><a href="http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/" rel="nofollow">http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/</a></p>
<p>There is also an open source link in post #1 above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Patrick Burt</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-37531</link>
		<dc:creator>Patrick Burt</dc:creator>
		<pubDate>Fri, 01 Feb 2008 13:57:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-37531</guid>
		<description>How did you save out the PNG so its transparency didn&#039;t show up as light blue in ie6?</description>
		<content:encoded><![CDATA[<p>How did you save out the PNG so its transparency didn&#8217;t show up as light blue in ie6?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Blogging Squared</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-36150</link>
		<dc:creator>Blogging Squared</dc:creator>
		<pubDate>Fri, 25 Jan 2008 15:24:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-36150</guid>
		<description>I have seen tutorial after tutorial on &quot;rounding corners&quot; - There&#039;s even some web sites that dynamically create the png&#039;s for you.

Overall your code looks solid - I would agree that anything that reduces code weight is a good thing :)

Nicely done!</description>
		<content:encoded><![CDATA[<p>I have seen tutorial after tutorial on &#8220;rounding corners&#8221; &#8211; There&#8217;s even some web sites that dynamically create the png&#8217;s for you.</p>
<p>Overall your code looks solid &#8211; I would agree that anything that reduces code weight is a good thing <img src='http://www.search-this.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Nicely done!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-36105</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Fri, 25 Jan 2008 10:02:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-36105</guid>
		<description>Hi John,

Yes that&#039;s correct and there are opportunities in there for reducing code. I just copied and pasted each block for clarity so it was clear where each part was going.

Usually anything that reduces code weight is a good idea though :)</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>Yes that&#8217;s correct and there are opportunities in there for reducing code. I just copied and pasted each block for clarity so it was clear where each part was going.</p>
<p>Usually anything that reduces code weight is a good idea though <img src='http://www.search-this.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-36017</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 24 Jan 2008 23:42:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-36017</guid>
		<description>Just looking at example 5, you could&#039;ve saved yourself a few lines on .two, .three etc by only specifying a different bg-image and then not having to repeat the bg-positions or was that done for clarity and ease copying?</description>
		<content:encoded><![CDATA[<p>Just looking at example 5, you could&#8217;ve saved yourself a few lines on .two, .three etc by only specifying a different bg-image and then not having to repeat the bg-positions or was that done for clarity and ease copying?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Felipe</title>
		<link>http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/comment-page-1/#comment-35923</link>
		<dc:creator>Felipe</dc:creator>
		<pubDate>Thu, 24 Jan 2008 14:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2008/01/24/simple-round-corners-in-css-revisited/#comment-35923</guid>
		<description>Though http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/ has only found Fireworks to successfully create PNG-8 with both alpha (8-bit) and index (1-bit) transparency, there is also the open source software PNGnq cited in this post: http://eriestuff.blogspot.com/2007/11/cross-browser-png8-alpha-transparency.html

Though it doesn&#039;t work in every situation: I had issues with some images in IE6. You still have to create Gif (and lose alpha transparency in FF/Opera/Safari) or use Fireworks in those cases.</description>
		<content:encoded><![CDATA[<p>Though <a href="http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/" rel="nofollow">http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/</a> has only found Fireworks to successfully create PNG-8 with both alpha (8-bit) and index (1-bit) transparency, there is also the open source software PNGnq cited in this post: <a href="http://eriestuff.blogspot.com/2007/11/cross-browser-png8-alpha-transparency.html" rel="nofollow">http://eriestuff.blogspot.com/2007/11/cross-browser-png8-alpha-transparency.html</a></p>
<p>Though it doesn&#8217;t work in every situation: I had issues with some images in IE6. You still have to create Gif (and lose alpha transparency in FF/Opera/Safari) or use Fireworks in those cases.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
