<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://isom.uoregon.edu/community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Duck Bytes : overflow</title><link>http://isom.uoregon.edu/community/blogs/castner/archive/tags/overflow/default.aspx</link><description>Tags: overflow</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>CSS properties for text wrapping</title><link>http://isom.uoregon.edu/community/blogs/castner/archive/2007/01/25/CSS-properties-for-text-wrapping.aspx</link><pubDate>Thu, 25 Jan 2007 21:05:00 GMT</pubDate><guid isPermaLink="false">4ac6e2ff-a44c-42df-b503-9719f53eb121:449</guid><dc:creator>gcastner</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://isom.uoregon.edu/community/blogs/castner/rsscomments.aspx?PostID=449</wfw:commentRss><comments>http://isom.uoregon.edu/community/blogs/castner/archive/2007/01/25/CSS-properties-for-text-wrapping.aspx#comments</comments><description>&lt;p&gt;A problem I&amp;#39;ve encountered on my website and seen on others is when text wrapping causes text to overflow the borders of its container. Here is an example style and associated properties to avoid this problem occurring:&lt;/p&gt;
&lt;p&gt;.yourstyle &lt;/p&gt;
&lt;p&gt;{&lt;br /&gt;min-width:250px;&lt;br /&gt;width:100%;&lt;br /&gt;display:block;&lt;br /&gt;overflow:hidden;&lt;br /&gt;white-space:nowrap;&lt;br /&gt;}&lt;/p&gt;
&lt;p&gt;In my case, the style is applied to a series of &amp;lt;li&amp;gt; tags.&lt;/p&gt;
&lt;p&gt;The 3 key properties are &lt;a title="display" href="http://www.w3.org/TR/CSS21/visuren.html#propdef-display"&gt;display&lt;/a&gt;, &lt;a title="overflow" href="http://www.w3.org/TR/CSS21/visufx.html#propdef-overflow" target="_blank"&gt;overflow&lt;/a&gt;, and &lt;a title="white-space" href="http://www.w3.org/TR/CSS21/text.html#propdef-white-space" target="_blank"&gt;white-space&lt;/a&gt;.&lt;/p&gt;&lt;img src="http://isom.uoregon.edu/community/aggbug.aspx?PostID=449" width="1" height="1"&gt;</description><category domain="http://isom.uoregon.edu/community/blogs/castner/archive/tags/CSS/default.aspx">CSS</category><category domain="http://isom.uoregon.edu/community/blogs/castner/archive/tags/overflow/default.aspx">overflow</category></item></channel></rss>