<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ashraf's Blog &#187; CSS</title>
	<atom:link href="http://ashrafur.wordpress.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://ashrafur.wordpress.com</link>
	<description>Weblogs of Ashrafur Rahaman</description>
	<lastBuildDate>Wed, 16 Dec 2009 14:32:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ashrafur.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/ee9ead71c89b7a06482cd3fb859f57a3?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Ashraf's Blog &#187; CSS</title>
		<link>http://ashrafur.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ashrafur.wordpress.com/osd.xml" title="Ashraf&#8217;s Blog" />
		<item>
		<title>Wrapping text</title>
		<link>http://ashrafur.wordpress.com/2008/10/16/wrapping-text/</link>
		<comments>http://ashrafur.wordpress.com/2008/10/16/wrapping-text/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 13:01:42 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=170</guid>
		<description><![CDATA[Sometime we face problen to wrap text. this is a very easy solution to solve wrapping problem .
public string GetFormattedText(string str)
{
string[] parts = str.Split(new char[] { &#8216; &#8216; });
StringBuilder sb = new StringBuilder();
foreach (string s in parts)
{
sb.Append(Server.HtmlEncode(s));
sb.Append(&#8221; &#60;wbr&#62;&#8221;);
}
return sb.ToString();
}
In case of firefox its is more easier, just use white-space: -moz-pre-wrap in css style.
Posted in CSS [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=170&subd=ashrafur&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometime we face problen to wrap text. this is a very easy solution to solve wrapping problem .</p>
<p>public string GetFormattedText(string str)<br />
{<br />
string[] parts = str.Split(new char[] { &#8216; &#8216; });<br />
StringBuilder sb = new StringBuilder();<br />
foreach (string s in parts)<br />
{<br />
sb.Append(Server.HtmlEncode(s));<br />
sb.Append(&#8221; &lt;wbr&gt;&#8221;);<br />
}<br />
return sb.ToString();<br />
}</p>
<p>In case of firefox its is more easier, just use white-space: -moz-pre-wrap in css style.</p>
Posted in CSS Tagged: Programming <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/170/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/170/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/170/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=170&subd=ashrafur&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2008/10/16/wrapping-text/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
		<item>
		<title>HR style issue in FireFox</title>
		<link>http://ashrafur.wordpress.com/2008/05/07/style-issue-in-firefox/</link>
		<comments>http://ashrafur.wordpress.com/2008/05/07/style-issue-in-firefox/#comments</comments>
		<pubDate>Wed, 07 May 2008 14:39:30 +0000</pubDate>
		<dc:creator>ashraf</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://ashrafur.wordpress.com/?p=130</guid>
		<description><![CDATA[I have faced an intersting problem in firefox, i have written a simple html like that
&#60;hr style=&#8221;color:#FF9900&#8243;/&#62;
it shows color in Internet Explorer but color was not showing in Firefox.
Finally i solve that problem is this was
&#60;hr style=&#8221;border-top: 1px solid #bae1f7; &#8220;/&#62;
Isnteresting  browser issue  
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=130&subd=ashrafur&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have faced an intersting problem in firefox, i have written a simple html like that</p>
<p>&lt;hr style=&#8221;color:#FF9900&#8243;/&gt;</p>
<p>it shows color in Internet Explorer but color was not showing in Firefox.</p>
<p>Finally i solve that problem is this was</p>
<p>&lt;hr style=&#8221;border-top: 1px solid #bae1f7; &#8220;/&gt;</p>
<p>Isnteresting  browser issue <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ashrafur.wordpress.com/130/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ashrafur.wordpress.com/130/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ashrafur.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ashrafur.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ashrafur.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ashrafur.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ashrafur.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ashrafur.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ashrafur.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ashrafur.wordpress.com/130/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ashrafur.wordpress.com/130/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ashrafur.wordpress.com/130/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ashrafur.wordpress.com&blog=1768637&post=130&subd=ashrafur&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ashrafur.wordpress.com/2008/05/07/style-issue-in-firefox/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4dbea6e5000e7de0a2e678852c3f6d78?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ashraf</media:title>
		</media:content>
	</item>
	</channel>
</rss>