<?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/"
	>

<channel>
	<title>Saffron Stroke - Your Web Design Resource &#187; scrolling text</title>
	<atom:link href="http://www.saffronstroke.com/tag/scrolling-text/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.saffronstroke.com</link>
	<description>Design Blog</description>
	<lastBuildDate>Wed, 11 Jan 2012 06:36:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Create scrollable area using CSS in Microsoft Expression Web 2</title>
		<link>http://www.saffronstroke.com/2009/06/09/create-scrollable-area-using-css-in-microsoft-expression-web-2/</link>
		<comments>http://www.saffronstroke.com/2009/06/09/create-scrollable-area-using-css-in-microsoft-expression-web-2/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 16:00:54 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[Expression]]></category>
		<category><![CDATA[Expression Suite]]></category>
		<category><![CDATA[Expression Web 2]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[scroll]]></category>
		<category><![CDATA[scrollbar]]></category>
		<category><![CDATA[scrolling text]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[web site]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=539</guid>
		<description><![CDATA[A scrollable area is where content can be presented and can be scrolled through. When you have a lot of content to be presented in a particular section, it is beneficial to add a scrollable area, without occupying much space on the page and keeping it organized. You can always add a textarea or use [...]]]></description>
			<content:encoded><![CDATA[<div align="left" style="float: none; clear:right; padding: 0px 5px 5px 0px;"><a name="fb_share" type="button_count" share_url="http://www.saffronstroke.com/2009/06/09/create-scrollable-area-using-css-in-microsoft-expression-web-2/"></a></div><div class="tweetmeme_button" style="float: right; margin-left: 10px;; margin-top:-2px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F06%2F09%2Fcreate-scrollable-area-using-css-in-microsoft-expression-web-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F06%2F09%2Fcreate-scrollable-area-using-css-in-microsoft-expression-web-2%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>A scrollable area is where content can be presented and can be scrolled through. When you have a lot of content to be presented in a particular section, it is beneficial to add a scrollable area, without occupying much space on the page and keeping it organized. You can always add a <em>textarea</em> or use <em>iframe</em> tags to do the same. But through HTML and CSS you can do the same for any page element.</p>
<p>This is done by using the CSS property – <strong>overflow</strong>. The overflow property takes any of the following values as its input:</p>
<ol>
<li><strong>overflow: auto</strong> – This will create a horizontal and/or vertical scrollbars only when needed, i.e. when the text exceeds the display area of the element.</li>
<li><strong>overflow: scroll</strong> – This will create horizontal and vertical scrollbars, even if the text inside the element fits into its display area. The scrollbars will always reside.</li>
<li><strong>overflow: visible</strong> – This will cause the element area to expand to make space for the content.</li>
<li><strong>overflow: hidden</strong> – This will force the block to only show the text that fits the in it. Rest of the content will be hidden and would not be visible.</li>
</ol>
<p>Let us create a scrollable area into a &lt;div&gt;as shown in the image below:</p>
<p><img class="alignnone size-full wp-image-537" title="scroll" src="http://www.saffronstroke.com/wp-content/uploads/2009/06/scroll.jpg" alt="scroll" width="320" height="120" /></p>
<p>Follow these steps:</p>
<ol>
<li>In the Design View, drag the &lt;div&gt; from the Toolbox and drop onto the page. Else in the Code View, manually type the &lt;div&gt;&lt;/div&gt; tags.</li>
<li>Then enter your content into the div.</li>
<li>In the Apply/Manage Styles task pane, click <strong>New Style…</strong> to launch the New Style dialog box.</li>
<li>In the New Style dialog box, name the selector as ‘scroll’ and choose following properties:</li>
</ol>
<p>.scroll {</p>
<p>        font-family: &#8220;Courier New&#8221;, Courier, monospace;</p>
<p>        font-size: 14px;</p>
<p>        color: #FFFFFF;</p>
<p>        background-color: #000000;</p>
<p>        border: 1px solid #4A4A4A;</p>
<p>        padding: 5px;</p>
<p>        overflow: auto;</p>
<p>}</p>
<p>See image below for more details.</p>
<p><img title="new_style" src="http://www.saffronstroke.com/wp-content/uploads/2009/06/new_style.jpg" alt="new_style" width="409" height="392" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/06/09/create-scrollable-area-using-css-in-microsoft-expression-web-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

