<?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"
	>
<channel>
	<title>Comments on: ShadedBorder with Gradients</title>
	<atom:link href="http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/</link>
	<description></description>
	<pubDate>Fri, 04 Jul 2008 12:47:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Charles Manske</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-74419</link>
		<dc:creator>Charles Manske</dc:creator>
		<pubDate>Tue, 15 Apr 2008 22:09:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-74419</guid>
		<description>I use jQuery for most things, but I really like the style and size of this code for corners and gradients. A common pattern for rendering corners for all elements of a particular class is:
var border = RUZEE.ShadedBorder.create(...);
border.render($('.my_border_class').get());  /* Use get() to return array of DOM elements */

But I'm seeing an ugly problem when a page is resized in IE7 (Windows XP). You can see it on the example page: http://www.ruzee.com/files/shadedborder/test.html
Resize the window from the bottom-right corner to make it smaller and watch what happens to the "A headline With Its Own Style" box. Both of the right corners become dislocated and shift to the right or disappear completely. Also, if the window is very narrow, the central div in that box (the one that ends up with 100% height in the final render) is not extended correctly and the background shows through. These obviously stem from the classic IE "box" rendering bugs.
Just in case some of you aren't using Firefox, developing in Firefox with the Firebug plugin is by far the best way to debug styles, since you can inspect ALL of the rendered divs. If only that worked in IE!</description>
		<content:encoded><![CDATA[<p>I use jQuery for most things, but I really like the style and size of this code for corners and gradients. A common pattern for rendering corners for all elements of a particular class is:<br />
var border = RUZEE.ShadedBorder.create(&#8230;);<br />
border.render($(&#8217;.my_border_class&#8217;).get());  /* Use get() to return array of DOM elements */</p>
<p>But I&#8217;m seeing an ugly problem when a page is resized in IE7 (Windows XP). You can see it on the example page: <a href="http://www.ruzee.com/files/shadedborder/test.html" rel="nofollow">http://www.ruzee.com/files/shadedborder/test.html</a><br />
Resize the window from the bottom-right corner to make it smaller and watch what happens to the &#8220;A headline With Its Own Style&#8221; box. Both of the right corners become dislocated and shift to the right or disappear completely. Also, if the window is very narrow, the central div in that box (the one that ends up with 100% height in the final render) is not extended correctly and the background shows through. These obviously stem from the classic IE &#8220;box&#8221; rendering bugs.<br />
Just in case some of you aren&#8217;t using Firefox, developing in Firefox with the Firebug plugin is by far the best way to debug styles, since you can inspect ALL of the rendered divs. If only that worked in IE!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aqeel</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-74072</link>
		<dc:creator>aqeel</dc:creator>
		<pubDate>Wed, 09 Apr 2008 12:55:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-74072</guid>
		<description>great script but would be more greatful if could use jquery…like this is only rounded but u might add shadow…

http://www.malsup.com/jquery/corner/

entire stuff here….

http://docs.jquery.com/Plugins

jquery.com</description>
		<content:encoded><![CDATA[<p>great script but would be more greatful if could use jquery…like this is only rounded but u might add shadow…</p>
<p><a href="http://www.malsup.com/jquery/corner/" rel="nofollow">http://www.malsup.com/jquery/corner/</a></p>
<p>entire stuff here….</p>
<p><a href="http://docs.jquery.com/Plugins" rel="nofollow">http://docs.jquery.com/Plugins</a></p>
<p>jquery.com</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-73875</link>
		<dc:creator>Gary</dc:creator>
		<pubDate>Sun, 06 Apr 2008 00:39:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-73875</guid>
		<description>I'm setting up new look for site and want to try to find way of making rounded corners with drop shadow but also add image inset( crosshatch or similar look to simulate a fabric) following or replacing the border/drop shadow, but around the radius of corners. New page layout is at  http://www.solarfabric.com/test2.html
Any ideas anyone?I was thinking of possibly div with image beneath but want look to be with image on top where drop shadow would normally be.
Thanks Gary</description>
		<content:encoded><![CDATA[<p>I&#8217;m setting up new look for site and want to try to find way of making rounded corners with drop shadow but also add image inset( crosshatch or similar look to simulate a fabric) following or replacing the border/drop shadow, but around the radius of corners. New page layout is at  <a href="http://www.solarfabric.com/test2.html" rel="nofollow">http://www.solarfabric.com/test2.html</a><br />
Any ideas anyone?I was thinking of possibly div with image beneath but want look to be with image on top where drop shadow would normally be.<br />
Thanks Gary</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aqeel ahmed</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-73732</link>
		<dc:creator>aqeel ahmed</dc:creator>
		<pubDate>Fri, 04 Apr 2008 09:58:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-73732</guid>
		<description>i liked the code but have some minor issues of coding.....do please use this site for javascript error....http://www.javascriptlint.com/online_lint.php

shadedborder.js..i like the stuff but have some issues....anyway thanks for the great work and the effort put into it...</description>
		<content:encoded><![CDATA[<p>i liked the code but have some minor issues of coding&#8230;..do please use this site for javascript error&#8230;.http://www.javascriptlint.com/online_lint.php</p>
<p>shadedborder.js..i like the stuff but have some issues&#8230;.anyway thanks for the great work and the effort put into it&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bodo</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-69981</link>
		<dc:creator>bodo</dc:creator>
		<pubDate>Wed, 20 Feb 2008 15:44:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-69981</guid>
		<description>Hi Steffen,
your library is great, but I have an issue concerning IE 6. I want to have a 1px wide border around a div containing several other divs. I can´t use the div itself, because the background-color has to be white (and not in the color of the border). So I wrap around the div another div with 1px padding. This is the code:

[..]


#border{
width: 200px;
background-color: #000066;
xorder: 1px solid red;
padding: 3px;
}
#inner{
background-color: #fff;
}


window.onload = initIt;
function initIt(){
	var roundBorder = RUZEE.ShadedBorder.create({corner:3});roundBorder.render('border');
	}




  
     test
  






Quite simple and it works in every browser except IE 6. There the bottom line gets cut away. I narrowed it down to the element sb-inner inside the sb-gen. It simply isn´t displayed. I see the borders of the two main divs and in between there is a 1px white space, the sb-inner, that isn´t displayed. Do you have a solution for that?

Thanks,
Bodo</description>
		<content:encoded><![CDATA[<p>Hi Steffen,<br />
your library is great, but I have an issue concerning IE 6. I want to have a 1px wide border around a div containing several other divs. I can´t use the div itself, because the background-color has to be white (and not in the color of the border). So I wrap around the div another div with 1px padding. This is the code:</p>
<p>[..]</p>
<p>#border{<br />
width: 200px;<br />
background-color: #000066;<br />
xorder: 1px solid red;<br />
padding: 3px;<br />
}<br />
#inner{<br />
background-color: #fff;<br />
}</p>
<p>window.onload = initIt;<br />
function initIt(){<br />
	var roundBorder = RUZEE.ShadedBorder.create({corner:3});roundBorder.render(&#8217;border&#8217;);<br />
	}</p>
<p>     test</p>
<p>Quite simple and it works in every browser except IE 6. There the bottom line gets cut away. I narrowed it down to the element sb-inner inside the sb-gen. It simply isn´t displayed. I see the borders of the two main divs and in between there is a 1px white space, the sb-inner, that isn´t displayed. Do you have a solution for that?</p>
<p>Thanks,<br />
Bodo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-68205</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Mon, 04 Feb 2008 11:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-68205</guid>
		<description>Hi Steffen, 
can we work together in order to solve the "full-height" gradient background issue?

Thank you very much!
Francesco</description>
		<content:encoded><![CDATA[<p>Hi Steffen,<br />
can we work together in order to solve the &#8220;full-height&#8221; gradient background issue?</p>
<p>Thank you very much!<br />
Francesco</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francesco</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-67011</link>
		<dc:creator>Francesco</dc:creator>
		<pubDate>Thu, 24 Jan 2008 17:27:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-67011</guid>
		<description>Hi, 
thanks a lot for your code, the script is great!
The only is we cannot use gradient for the complete height :-(
I've done a little fix to your script but I've some problems to solve.

This is my change:



ROW 120          
          // draw inner
          // FIXME: 100 (the height fo the div)
          var dd = div + ' z-index:2;' + (t ? 
                   'background-position:0 -' + (r-yc-1) + 'px;' : 
                   'background-position:0 -' + (100 -2*h + r) + 'px;');



ROW 200

    // FIXME: 100 (the height fo the div)
    ds.push(dd + (t ? 'background-position-y:0; top:' : 
                      'background-position:0 -' + (100 -2*h + r) + 'px; bottom:') + y + 'px;' +
        ' height:' + (r+cy+s) + 'px;" class="' + iclass + '"&#62;');
    el.innerHTML = ds.join('');
  }

========================

Using this path I can rounded all the background image, including the bottom.

There are some issues:

1) how can I determinate the height of the rounded div? (I've used a fixed height of 100px)

2) the antialiasing of bottom corners not works.

3) the shadow not work.

Please let me know.

Thank you!!!</description>
		<content:encoded><![CDATA[<p>Hi,<br />
thanks a lot for your code, the script is great!<br />
The only is we cannot use gradient for the complete height <img src='http://www.ruzee.com/blog/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /><br />
I&#8217;ve done a little fix to your script but I&#8217;ve some problems to solve.</p>
<p>This is my change:</p>
<p>ROW 120<br />
          // draw inner<br />
          // FIXME: 100 (the height fo the div)<br />
          var dd = div + &#8216; z-index:2;&#8217; + (t ?<br />
                   &#8216;background-position:0 -&#8217; + (r-yc-1) + &#8216;px;&#8217; :<br />
                   &#8216;background-position:0 -&#8217; + (100 -2*h + r) + &#8216;px;&#8217;);</p>
<p>ROW 200</p>
<p>    // FIXME: 100 (the height fo the div)<br />
    ds.push(dd + (t ? &#8216;background-position-y:0; top:&#8217; :<br />
                      &#8216;background-position:0 -&#8217; + (100 -2*h + r) + &#8216;px; bottom:&#8217;) + y + &#8216;px;&#8217; +<br />
        &#8216; height:&#8217; + (r+cy+s) + &#8216;px;&#8221; class=&#8221;&#8216; + iclass + &#8216;&#8221;&gt;&#8217;);<br />
    el.innerHTML = ds.join(&#8221;);<br />
  }</p>
<p>========================</p>
<p>Using this path I can rounded all the background image, including the bottom.</p>
<p>There are some issues:</p>
<p>1) how can I determinate the height of the rounded div? (I&#8217;ve used a fixed height of 100px)</p>
<p>2) the antialiasing of bottom corners not works.</p>
<p>3) the shadow not work.</p>
<p>Please let me know.</p>
<p>Thank you!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohiuddin Khan Inamdar</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-62873</link>
		<dc:creator>Mohiuddin Khan Inamdar</dc:creator>
		<pubDate>Tue, 11 Dec 2007 09:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-62873</guid>
		<description>Hi, 
 I think this I should try this out. 
 Nice way to say its free to use... with MIT license style..
I plan to try it on one of my existing intranet project..

Thanks for sharing this ....
Signed 
Mohnkhan
http://www.mohitech.com</description>
		<content:encoded><![CDATA[<p>Hi,<br />
 I think this I should try this out.<br />
 Nice way to say its free to use&#8230; with MIT license style..<br />
I plan to try it on one of my existing intranet project..</p>
<p>Thanks for sharing this &#8230;.<br />
Signed<br />
Mohnkhan<br />
<a href="http://www.mohitech.com" rel="nofollow">http://www.mohitech.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-60328</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Mon, 05 Nov 2007 23:20:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-60328</guid>
		<description>Wow, I just updated to this version and the gradient backgrounds look great, thanks!!!!!</description>
		<content:encoded><![CDATA[<p>Wow, I just updated to this version and the gradient backgrounds look great, thanks!!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MArcio</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-59443</link>
		<dc:creator>MArcio</dc:creator>
		<pubDate>Wed, 24 Oct 2007 16:49:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-59443</guid>
		<description>Hy my name is Marcio, i'm from Brasil

I'm using ShadedBorder script in this project

www.cerebrum.com.br/_somar_cabos/

But link CEREBRUM in Internet Explorer show Up

How to resolve this</description>
		<content:encoded><![CDATA[<p>Hy my name is Marcio, i&#8217;m from Brasil</p>
<p>I&#8217;m using ShadedBorder script in this project</p>
<p><a href="http://www.cerebrum.com.br/_somar_cabos/" rel="nofollow">http://www.cerebrum.com.br/_somar_cabos/</a></p>
<p>But link CEREBRUM in Internet Explorer show Up</p>
<p>How to resolve this</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Piotr</title>
		<link>http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-59217</link>
		<dc:creator>Piotr</dc:creator>
		<pubDate>Sun, 21 Oct 2007 09:55:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.ruzee.com/blog/2007/10/shadedborder-with-gradients/#comment-59217</guid>
		<description>Hmmm,
But the example page that comes with the download looks good in IE7. 
So guess it's my IE7 setup(?). Anyway, thanks for the update Steffen.

Piotr</description>
		<content:encoded><![CDATA[<p>Hmmm,<br />
But the example page that comes with the download looks good in IE7.<br />
So guess it&#8217;s my IE7 setup(?). Anyway, thanks for the update Steffen.</p>
<p>Piotr</p>
]]></content:encoded>
	</item>
</channel>
</rss>
