<?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; HTML</title>
	<atom:link href="http://www.saffronstroke.com/tag/HTML/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>Highlight invalid HTML in Expression Web</title>
		<link>http://www.saffronstroke.com/2010/07/16/highlight-invalid-html-in-expression-web/</link>
		<comments>http://www.saffronstroke.com/2010/07/16/highlight-invalid-html-in-expression-web/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 16:46:29 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[invalid HTML]]></category>

		<guid isPermaLink="false">http://www.saffronstroke.com/?p=1163</guid>
		<description><![CDATA[Some times, while coding your web pages, you must have observed red squiggly lines in your code. This is how Expression Web points out invalid or incompatible HTML in your code. It is advisable that you check your code for compatibility and validity before you publish it. Expression Web has different tools that offer to [...]]]></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/2010/07/16/highlight-invalid-html-in-expression-web/"></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%2F2010%2F07%2F16%2Fhighlight-invalid-html-in-expression-web%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2010%2F07%2F16%2Fhighlight-invalid-html-in-expression-web%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Some times, while coding your web pages, you must have observed red squiggly lines in your code. This is how Expression Web points out invalid or incompatible HTML in your code. It is advisable that you check your code for compatibility and validity before you publish it. </p>
<p>Expression Web has different tools that offer to check the code at different levels. Two such options are available on the General tab of Page Editor Options.</p>
<p>Go to <strong>Tools &gt; Page Editor Options… &gt; General tab &gt; Code View Options</strong> section.</p>
<p><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="clip_image002" border="0" alt="clip_image002" src="http://www.saffronstroke.com/wp-content/uploads/2010/07/clip_image002.jpg" width="519" height="569" /></p>
<p>a. Highlight invalid HTML: emphasizes invalid HTML in a specific color. The default color of the text is red with yellow background. But you can change this color scheme in the Color Coding tab of the Page Editor Options dialog box. </p>
<p>Hover over the highlighted code to view more information about the incompatible code. </p>
<p>b. Highlight incompatible HTML: displays a squiggly line under the code that does not match the HTML compatibility standards.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2010/07/16/highlight-invalid-html-in-expression-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Working with line breaks in Expression Web</title>
		<link>http://www.saffronstroke.com/2010/05/04/working-with-line-breaks-in-expression-web/</link>
		<comments>http://www.saffronstroke.com/2010/05/04/working-with-line-breaks-in-expression-web/#comments</comments>
		<pubDate>Tue, 04 May 2010 10:46:05 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[CSS Hacks, Tips and Tricks]]></category>
		<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[break]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[line break]]></category>
		<category><![CDATA[space]]></category>

		<guid isPermaLink="false">https://saffronstroke.wordpress.com/2010/05/04/working-with-line-breaks-in-expression-web/</guid>
		<description><![CDATA[The basic formatting techniques like Line breaks, white spaces and indentation make your web content stand out and look clean and neat. The HTML &#60;br&#62; tag is used to add line breaks in your page. See below: marks denote line breaks. To view line breaks or other Formatting marks in Expression Web, go to View [...]]]></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/2010/05/04/working-with-line-breaks-in-expression-web/"></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%2F2010%2F05%2F04%2Fworking-with-line-breaks-in-expression-web%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2010%2F05%2F04%2Fworking-with-line-breaks-in-expression-web%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>The basic formatting techniques like Line breaks, white spaces and indentation make your web content stand out and look clean and neat. The HTML &lt;br&gt; tag is used to add line breaks in your page. See below:</p>
<p><img style="display: inline; border-width: 0;" title="clip_image004" src="http://www.saffronstroke.com/wp-content/uploads/2010/05/clip_image004.jpg" border="0" alt="clip_image004" width="426" height="42" /></p>
<p><img style="display: inline; border-width: 0;" title="clip_image002" src="http://www.saffronstroke.com/wp-content/uploads/2010/05/clip_image002.jpg" border="0" alt="clip_image002" width="15" height="13" /> marks denote line breaks. To view line breaks or other Formatting marks in Expression Web, go to View menu &gt; Formatting Marks &gt; Show and then from the same menu choose ‘Line Breaks’.</p>
<p><strong>Tip:</strong> Use the same menu to view other formatting marks. The screenshots in this article are taken in Expression Web 3.</p>
<p>To add line breaks; in Design view, place the cursor at the point where you want to insert a line break and do either of the following:</p>
<p>a. In the Toolbox, under the Tags heading, double click or drag the <img style="display: inline; border-width: 0;" title="clip_image006" src="http://www.saffronstroke.com/wp-content/uploads/2010/05/clip_image006.jpg" border="0" alt="clip_image006" width="50" height="24" />.</p>
<p>b. Insert &gt; HTML &gt; Break.</p>
<p><img style="display: inline; border-width: 0;" title="clip_image008" src="http://www.saffronstroke.com/wp-content/uploads/2010/05/clip_image008.jpg" border="0" alt="clip_image008" width="360" height="97" /></p>
<p>c. Hit Shift + Enter.</p>
<p><strong>NOTE: </strong>Hitting Shift + Enter will add a line break whereas hitting only the enter key adds a paragraph break.</p>
<p>To format a line break, select the line break in the design view, go to the Format menu and choose Properties. The Break dialog box will be prompted as follows:</p>
<p><img style="display: inline; border-width: 0;" title="clip_image010" src="http://www.saffronstroke.com/wp-content/uploads/2010/05/clip_image010.jpg" border="0" alt="clip_image010" width="315" height="137" /></p>
<p>a. Normal line break: create a default line break.</p>
<p>b. Clear left margin: clears left margin and begins the next line at the nearest line below the content in the left margin.</p>
<p>c. Clear right margin: clears right margin and begins the next line at the nearest line below the content in the right margin.</p>
<p>d. Clear both margins: clears both the margins and begins the next line at the nearest line below the contents in both the margins.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2010/05/04/working-with-line-breaks-in-expression-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Add a background sound to your web page in Microsoft Expression Web</title>
		<link>http://www.saffronstroke.com/2009/11/16/add-a-background-sound-to-your-web-page-in-ms-ew/</link>
		<comments>http://www.saffronstroke.com/2009/11/16/add-a-background-sound-to-your-web-page-in-ms-ew/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 18:08:19 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[add media to web page]]></category>
		<category><![CDATA[add sound to web page]]></category>
		<category><![CDATA[Expression Web 2]]></category>
		<category><![CDATA[Expression Web 3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=770</guid>
		<description><![CDATA[You must have come across websites that play sound (some music) while you are visiting it. Some design sites, personal sites of stylists or e-cards and gift sites usually have such background sound, sometimes on the home page or to all the pages. Personally, I find it irritating. Though you can actually specify how many [...]]]></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/11/16/add-a-background-sound-to-your-web-page-in-ms-ew/"></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%2F11%2F16%2Fadd-a-background-sound-to-your-web-page-in-ms-ew%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F11%2F16%2Fadd-a-background-sound-to-your-web-page-in-ms-ew%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>You must have come across websites that play sound (some music) while you are visiting it. Some design sites, personal sites of stylists or e-cards and gift sites usually have such background sound, sometimes on the home page or to all the pages. Personally, I find it irritating. Though you can actually specify how many times the sound should be played after the page is loaded or should it be continuously played in a loop. But if you would like to add some music to your website, here is how you can do that.</p>
<p><strong>To add a background sound</strong></p>
<ol>
<li>Open the website and then open the web page in Design View.</li>
<li>Right click the page and choose Page Properties.</li>
<li>In the ‘Page Properties’ dialog box (see image below), under the General tab, in the Background Sound section, browse to the location of the sound file and choose the file and click Open.</li>
<p><a href="http://www.saffronstroke.com/wp-content/uploads/2009/11/pg_prop1.jpg" rel="lightbox[770]"><img class="alignnone size-full wp-image-772" title="pg_prop" src="http://www.saffronstroke.com/wp-content/uploads/2009/11/pg_prop1.jpg" alt="pg_prop" width="442" height="355" /></a></p>
<li>In the same window, to choose the duration of the sound, do either of the following:
<ul>
<li>Check the Forever checkbox, to play the sound continuously unless the window is closed.</li>
<li>Uncheck the above checkbox and enter/choose an integer to play the sound for a fixed number of times.</li>
</ul>
</li>
</ol>
<p><strong>NOTES: </strong></p>
<ul>
<li>The background sound would be added only on the page you are configuring on. To add it on other pages, follow the same steps on the other pages.</li>
<li>The &lt;bgsound /&gt; tag is added when you add a sound to the page. This featureis not supported in Mozilla Firefox browsers.</li>
</ul>
<p>To remove a background sound, in the General tab of the Page Properties window, delete the location under the Background sound.</p>
<p><strong>TIP:</strong> As a good practice, provide the users with an option to turn off the sound.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/11/16/add-a-background-sound-to-your-web-page-in-ms-ew/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Set HTML rules to help search text in your code in Microsoft Expression Web</title>
		<link>http://www.saffronstroke.com/2009/11/09/set-html-rules-to-help-search-text-in-your-code-in-msew/</link>
		<comments>http://www.saffronstroke.com/2009/11/09/set-html-rules-to-help-search-text-in-your-code-in-msew/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 10:56:11 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[Expression Web 2]]></category>
		<category><![CDATA[Expression Web 3]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML rules]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[replace]]></category>
		<category><![CDATA[set HTML rules]]></category>
		<category><![CDATA[set HTML rules to find]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=759</guid>
		<description><![CDATA[We often use the Find and Replace tool (CTRL + F) to search for words, in our context, tags, elements, properties and so on in our page. But the same dialog box offers a cool feature of setting HTML rules in your search. These HTML rules let you add conditions as to where in your [...]]]></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/11/09/set-html-rules-to-help-search-text-in-your-code-in-msew/"></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%2F11%2F09%2Fset-html-rules-to-help-search-text-in-your-code-in-msew%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F11%2F09%2Fset-html-rules-to-help-search-text-in-your-code-in-msew%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>We often use the Find and Replace tool (CTRL + F) to search for words, in our context, tags, elements, properties and so on in our page. But the same dialog box offers a cool feature of setting HTML rules in your search. These HTML rules let you add conditions as to where in your code to search. Let us take a look at how that can be done.</p>
<p>Follow these steps to set HTML rules for searching -</p>
<ol>
<li>Do either of the following
<ul>
<li>To search within a single page, open the page.</li>
<li>To search the entire site, open the site.</li>
<li>To search more than one page in a website, open the site and in the Folder List panel or the Site View, select the pages. Else open all those pages you want to search.</li>
</ul>
</li>
<li>Go to the Edit menu and choose <strong>Find…</strong> to find text, and Replace… to replace text. Both would launch the same Find and Replace dialog box, with different tabs selected by default.</li>
<p><a href="http://www.saffronstroke.com/wp-content/uploads/2009/11/find_11.jpg" rel="lightbox[759]"><img class="alignnone size-full wp-image-761" title="find_1" src="http://www.saffronstroke.com/wp-content/uploads/2009/11/find_11.jpg" alt="find_1" width="460" height="338" /></a></p>
<li>Click on the ‘<strong>HTML Rules…</strong>’ button. The HTML Rules dialog box would be prompted.</li>
<p><a href="http://www.saffronstroke.com/wp-content/uploads/2009/11/html_rules.jpg" rel="lightbox[759]"><img class="alignnone size-full wp-image-762" title="html_rules" src="http://www.saffronstroke.com/wp-content/uploads/2009/11/html_rules.jpg" alt="html_rules" width="460" height="391" /></a></p>
<li>Click on ‘<strong>New rule…</strong>’ In the drop down box (left bottom corner of the window, choose to set the rule ‘Inside tag’ or ‘<strong>Not inside tag</strong>’. In either case, select a tag, from the other drop down. The rule would be created.</li>
<p><a href="http://www.saffronstroke.com/wp-content/uploads/2009/11/html_rules_1.jpg" rel="lightbox[759]"><img class="alignnone size-full wp-image-763" title="html_rules_1" src="http://www.saffronstroke.com/wp-content/uploads/2009/11/html_rules_1.jpg" alt="html_rules_1" width="460" height="390" /></a></p>
<li>To configure the rule, click on the ‘<strong>New rule…</strong>’ (appears as a child under the rule we created above, in the tree view). Choose the options in the bottom left corner for the rule. They are as follows:<br />
<strong>a.       </strong><strong>With attribute: </strong>to<strong> </strong>search inside a tag with the given attribute. For example, inside tag &lt;p&gt;, search for only those tags that have attribute class = content_text.<br />
<strong>b.      </strong><strong>Without attribute:</strong> to search inside a tag without the given attribute. For example, inside tag &lt;p&gt;, search for all other tags except for the ones with attribute class = content_text.<br />
<strong>c.       </strong><strong>Containing: </strong>to search only if it is in another text or tag that you specify.<br />
<strong>d.      </strong><strong>Not Containing: </strong>to search only if it is not another text or tag that you specify.<br />
<strong>e.      </strong><strong>Inside Tag: </strong>to search only if it is in a tag that you specify.<br />
<strong>f.        </strong><strong>Not Inside Tag:</strong> to search only if it is not in a tag that you specify.<strong> </strong></li>
<li>To delete a rule, choose ‘<strong>Delete rule</strong>’ and to delete all the rules, choose ‘<strong>Delete all</strong>’.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/11/09/set-html-rules-to-help-search-text-in-your-code-in-msew/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Useful Resources for Microsoft Expression Web</title>
		<link>http://www.saffronstroke.com/2009/10/27/useful-resources-for-microsoft-expression-web/</link>
		<comments>http://www.saffronstroke.com/2009/10/27/useful-resources-for-microsoft-expression-web/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 10:47:20 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Expression]]></category>
		<category><![CDATA[Expression Suite]]></category>
		<category><![CDATA[Expression Web 2]]></category>
		<category><![CDATA[Expression Web 3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tutorials]]></category>
		<category><![CDATA[website]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=746</guid>
		<description><![CDATA[Here are some websites and blogs that offer very informative tutorials, articles, tips, tricks, trainings, ebooks and other resources for Microsoft Expression Web. http://expression.microsoft.com/en-us/cc197140.aspx for tutorials, videos, free Expression Web templates. http://any-expression.com - is owned by Tina Clarke, who is a fellow Expression Web MVP. The site features plenty of tutorials, tips, ebooks on Expression Web and FrontPage. [...]]]></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/10/27/useful-resources-for-microsoft-expression-web/"></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%2F10%2F27%2Fuseful-resources-for-microsoft-expression-web%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F10%2F27%2Fuseful-resources-for-microsoft-expression-web%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Here are some websites and blogs that offer very informative tutorials, articles, tips, tricks, trainings, ebooks and other resources for Microsoft Expression Web.</p>
<ol>
<li><a href="http://expression.microsoft.com/en-us/cc197140.aspx">http://expression.microsoft.com/en-us/cc197140.aspx</a> for tutorials, videos, free Expression Web templates.</li>
<li><a href="http://any-expression.com">http://any-expression.com</a> - is owned by Tina Clarke, who is a fellow Expression Web MVP. The site features plenty of tutorials, tips, ebooks on Expression Web and FrontPage.<br />
Her blog <a href="http://www.expression-web.net/">http://www.expression-web.net/</a> also offers useful Expression Web resources.</li>
<li><a href="http://by-expression.com">http://by-expression.com</a> features excellent Tutorials and Sample Sites by Expression Web MVP, Cheryl D. Wise. She also conducts trainings for EW.</li>
<li><a href="http://www.expression-web-designer-help.com/">http://www.expression-web-designer-help.com/</a> is a great site to seek help in MS Expression Web, run by Jim Davidson, MVP Expression Web.</li>
<li><a href="http://www.expression-web-tutorials.com/">http://www.expression-web-tutorials.com/</a> and <a href="http://www.expression-web-tips.com/">http://www.expression-web-tips.com/</a><br />
Owned by Expression Web MVP, Patricia Ann Geary, these sites include EW tutorials, templates, tips and news on EW as well as FrontPage tutorials.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/10/27/useful-resources-for-microsoft-expression-web/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>To add a line height to a paragraph using CSS in Microsoft Expression Web 3</title>
		<link>http://www.saffronstroke.com/2009/09/23/to-add-a-line-height-to-a-paragraph-using-css-in-microsoft-expression-web-3/</link>
		<comments>http://www.saffronstroke.com/2009/09/23/to-add-a-line-height-to-a-paragraph-using-css-in-microsoft-expression-web-3/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 16:27:10 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[add line-height to paragraph]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Expression Web 3]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[line height]]></category>
		<category><![CDATA[paragraph]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=721</guid>
		<description><![CDATA[There are two ways to do this with CSS; By assigning a line height to all the paragraphs: In the Apply Styles or Manage Styles panel (task pane in earlier versions of Expression Web) click on ‘New Style’. In the selector box, type in ‘p’ and in the Block category, enter a value for line-height, [...]]]></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/09/23/to-add-a-line-height-to-a-paragraph-using-css-in-microsoft-expression-web-3/"></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%2F09%2F23%2Fto-add-a-line-height-to-a-paragraph-using-css-in-microsoft-expression-web-3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F09%2F23%2Fto-add-a-line-height-to-a-paragraph-using-css-in-microsoft-expression-web-3%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>There are two ways to do this with CSS;</p>
<ol>
<li>By assigning a line height to all the paragraphs:</li>
<p>In the Apply Styles or Manage Styles panel (task pane in earlier versions of Expression Web) click on ‘New Style’. In the selector box, type in ‘p’ and in the Block category, enter a value for line-height, say 20px.</p>
<p><a href="http://www.saffronstroke.com/wp-content/uploads/2009/09/new_style_line_ht1.jpg" rel="lightbox[721]"><img class="alignnone size-full wp-image-724" title="new_style_line_ht" src="http://www.saffronstroke.com/wp-content/uploads/2009/09/new_style_line_ht1.jpg" alt="new_style_line_ht" width="434" height="416" /></a>  </p>
<p>Now all the paragraphs will have a same line height of 20px. </p>
<li>If you do not want a same line-height for all the paragraphs, define a class selector and assign a line-height value. The class selector could be generic (.line_ht) or specific to paragraph element (p.line_ht). (Both these concepts are explained later in the article.) To define these styles follow the same steps given above in pt. 1. Then apply the styles to the paragraphs. </li>
</ol>
<p><strong>Difference between Generic Class Selectors and Specific Class Selectors</strong></p>
<p>A generic class selector could be assigned to any element like &lt;div class=” line_ht”&gt;&lt;/div&gt;. Unlike this kind of class selector, the specific class selector will be applied only to those <strong>paragraph</strong> elements that have a class attribute containing the word ‘line_ht’, and no other elements. </p>
<p>Take a look at these examples to make things more clear;</p>
<p><strong>/*Element Selector */</strong></p>
<p>p { line-height : 20px;}</p>
<p>&lt;p&gt;This paragraph will have a line-height of 20px&lt;/p&gt;</p>
<p>&lt;div&gt; This paragraph will have the default line-height &lt;/div&gt;</p>
<p> </p>
<p><strong>/* Generic Class Selector */</strong></p>
<p>.line_ht { line-height : 20px;}</p>
<p>&lt;p class=” line_ht”&gt;This paragraph will have a line-height of 20px&lt;/p&gt;</p>
<p>&lt;span class=” line_ht”&gt;This paragraph will also have a line-height of 20px&lt;/span&gt;</p>
<p>&lt;div class=” line_ht”&gt;This paragraph too will have a line-height of 20px&lt;/div&gt;</p>
<p> </p>
<p><strong>/*Specific Class Selector */</strong></p>
<p>p.line_ht { line-height : 20px;}</p>
<p>&lt;p class=” line_ht”&gt;This paragraph will have a line-height of 20px&lt;/p&gt;</p>
<p>&lt;p&gt; This paragraph will have the default line-height &lt;p/&gt;<span id="_marker"> </span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/09/23/to-add-a-line-height-to-a-paragraph-using-css-in-microsoft-expression-web-3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Customize the appearance of Code and Design View in Microsoft Expression Web 3</title>
		<link>http://www.saffronstroke.com/2009/09/09/customize-appearance-of-code-design-view-in-msew3/</link>
		<comments>http://www.saffronstroke.com/2009/09/09/customize-appearance-of-code-design-view-in-msew3/#comments</comments>
		<pubDate>Wed, 09 Sep 2009 05:00:09 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[code view]]></category>
		<category><![CDATA[customize appearance of design and code view]]></category>
		<category><![CDATA[design view]]></category>
		<category><![CDATA[Expression]]></category>
		<category><![CDATA[Expression Suite]]></category>
		<category><![CDATA[Expression Web 2]]></category>
		<category><![CDATA[Expression Web 3]]></category>
		<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=712</guid>
		<description><![CDATA[As you create a new page and start adding content to it, or when you open an existing page, the way it appears in Code view or Design view is laid down by Expression Web. For instance, in Code view normal text appears in black, HTML comment appears in gray, in Design View Layout table [...]]]></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/09/09/customize-appearance-of-code-design-view-in-msew3/"></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%2F09%2F09%2Fcustomize-appearance-of-code-design-view-in-msew3%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F09%2F09%2Fcustomize-appearance-of-code-design-view-in-msew3%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>As you create a new page and start adding content to it, or when you open an existing page, the way it appears in Code view or Design view is laid down by Expression Web. For instance, in Code view normal text appears in black, HTML comment appears in gray, in Design View Layout table border is green in color and so on .This is so that you can differentiate between the different elements and content on your page. But you can always customize them according to your liking.  </p>
<p><strong>To customize colors and font in Code and Design View</strong></p>
<ol>
<li>Go to <strong>Tools</strong> menu &gt; <strong>Page Editor Options</strong>.</li>
<li>In the Page Editor Options dialog box, switch to <strong>Color Coding</strong> tab.</li>
<li>The default selection is Code View unless you changed it. Choose the view you want to customize.</li>
<li>Choose an item from under the Display items box and select Item Foreground, Item Background and Font style.</li>
<p> <a href="http://www.saffronstroke.com/wp-content/uploads/2009/09/page_ed_color_coding.jpg" rel="lightbox[712]"><img class="alignnone size-full wp-image-713" title="page_ed_color_coding" src="http://www.saffronstroke.com/wp-content/uploads/2009/09/page_ed_color_coding.jpg" alt="page_ed_color_coding" width="385" height="411" /></a></p>
<li>Click OK.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/09/09/customize-appearance-of-code-design-view-in-msew3/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Creating Style Sheets in Microsoft Expression Web</title>
		<link>http://www.saffronstroke.com/2009/08/29/creating-style-sheets-in-microsoft-expression-web/</link>
		<comments>http://www.saffronstroke.com/2009/08/29/creating-style-sheets-in-microsoft-expression-web/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 11:04:18 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Expression Web]]></category>
		<category><![CDATA[style sheet]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=670</guid>
		<description><![CDATA[Microsoft Expression Web has some pre-defined set of style sheets which you can directly use in your document. There are in all 13 style sheets that are written for different purposes like Bars, Blocks, Capsules, Expedition, Highway, Poetic, Sweets and such others. Each of these style sheets has a unique style, with headings, background, font [...]]]></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/08/29/creating-style-sheets-in-microsoft-expression-web/"></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%2F08%2F29%2Fcreating-style-sheets-in-microsoft-expression-web%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F08%2F29%2Fcreating-style-sheets-in-microsoft-expression-web%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>Microsoft Expression Web has some pre-defined set of style sheets which you can directly use in your document. There are in all 13 style sheets that are written for different purposes like Bars, Blocks, Capsules, Expedition, Highway, Poetic, Sweets and such others. Each of these style sheets has a unique style, with headings, background, font styles, etc.</p>
<p><strong>How to add a style sheet to your page?</strong></p>
<ol>
<li>Go to File menu &gt; New &gt; Page.</li>
<p><img class="alignnone size-full wp-image-671" title="file_new_page" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/file_new_page.jpg" alt="file_new_page" width="305" height="70" /> </p>
<li>The ‘New Page’ window would then be prompted.</li>
<p><img class="alignnone size-full wp-image-672" title="new_dlg" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/new_dlg.jpg" alt="new_dlg" width="434" height="315" /> </p>
<p>In the leftmost column of the window, choose <strong>Style Sheets</strong>. The center column would then list down all the available predefined style sheets. As you select a style sheet from the list, the top portion in the right most column, gives a brief description of that style.</p>
<li>You can choose one that may suit your page requirements and click OK.</li>
<li>A style sheet will now be opened in your main workspace with a name ‘Untitiled_1.css’.</li>
<li>Now you need to save this css file in the same location of your document. Give an appropriate name to it.</li>
<li>Link this file in your page by following these instructions:
<ul>
<li>In Apply Styles or Manage Styles panel (task panes in versions earlier than 3) click on ‘Attach Style Sheet…’.</li>
<p><img class="alignnone size-full wp-image-673" title="attach_ss_opt" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/attach_ss_opt.jpg" alt="attach_ss_opt" width="190" height="81" /> </p>
<li>In the Attach Style Sheet window browse to the location of css file. You can choose attach it as a link or import it into your current page, selected page or all HTML pages. In this case choose ‘Current Page’ and as ‘Link’.</li>
<p><img class="alignnone size-full wp-image-674" title="attach_ss_window" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/attach_ss_window.jpg" alt="attach_ss_window" width="338" height="163" /> </p>
<li>Click OK. The css file will now be attached to your page.</li>
</ul>
</li>
<li>Now see your page being styled as per the styles defined in the attached style sheet.</li>
</ol>
<p>          <img class="alignnone size-full wp-image-675" title="final" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/final.jpg" alt="final" width="399" height="371" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/08/29/creating-style-sheets-in-microsoft-expression-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class Selectors</title>
		<link>http://www.saffronstroke.com/2009/08/21/class-selectors/</link>
		<comments>http://www.saffronstroke.com/2009/08/21/class-selectors/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 16:24:22 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[CSS Hacks, Tips and Tricks]]></category>
		<category><![CDATA[class selector]]></category>
		<category><![CDATA[classes]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSS tips]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[selectors]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=648</guid>
		<description><![CDATA[We learnt what &#8216;Element Selectors&#8217; are and how to group declarations and selectors, in our tutorial Element Selectors in CSS. But as you advance in HTML and CSS, you will need more specialized rules to style an element.  Apart from document elements (element selectors) there are two other types of selectors you can define on [...]]]></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/08/21/class-selectors/"></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%2F08%2F21%2Fclass-selectors%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F08%2F21%2Fclass-selectors%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>We learnt what &#8216;Element Selectors&#8217; are and how to group declarations and selectors, in our tutorial <a href="http://saffronstroke.com/2009/07/20/element-selectors-cs/">Element Selectors in CSS</a>. But as you advance in HTML and CSS, you will need more specialized rules to style an element.  Apart from document elements (element selectors) there are two other types of selectors you can define on your own. They are <strong>Class selectors</strong> and <strong>ID selectors</strong>.</p>
<p><strong>What are class selectors?</strong></p>
<p>A class selector is set of styles that you can apply to one or more elements. See these examples:</p>
<p>&lt;p class=”desc_text” &gt;Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor &lt;/p&gt;</p>
<p>&lt;h3&gt; Lorem ipsum dolor &lt;span class=”desc_text”&gt; sit amet, consectetur adipisicing elit, sed &lt;/span&gt; do eiusmod tempor &lt;/h3&gt;</p>
<p>A class ‘desc_text’ when applied to the paragraph element stylizes the entire paragraph whereas when applied to the span element stylizes only the spanned text.</p>
<p>Though we will learn more about the ID selector later, the main difference between the two is that class selectors can be used for multiple selectors and ID selector can style a single element in the entire document.</p>
<p><strong>Defining class selector in CSS</strong></p>
<p>In CSS the class selector is preceded by a period ‘.’ followed by the class name and style definition. See below:</p>
<p>.desc_text {font-size: 10px; color: #cccccc; }</p>
<p>This kind of class selector could be applied to any element that matches the class attribute value ‘desc_text’.</p>
<p>You can also use the universal selector ‘*’ to define the class that matches any element in the document.</p>
<p>*.desc_text {font-size: 10px; color: #cccccc;}</p>
<p>But this one;</p>
<p>p.desc_text {font-size: 10px; color: #cccccc; }</p>
<p>will match any paragraph elements that have the class attribute containing the word ‘desc_text’. In the above example the span element would not match this class and hence the styles would not be applied. So this kind of rule applies only to a specific type of element.</p>
<p><strong>Combination of general class selector and element-specific class selector</strong></p>
<p>.desc_text { font-size: 10px; }</p>
<p>span.desc_text { color: #cccccc ;}</p>
<p>First declaration is an example of general class selector and the second one is of element specific class selector. You can declare both and use them together. The output of the above example would be as shown below:</p>
<p><img class="alignnone size-full wp-image-649" title="Example" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/untitled.jpg" alt="Example" width="438" height="60" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/08/21/class-selectors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Easy steps to create a drop down box in Microsoft Expression Web</title>
		<link>http://www.saffronstroke.com/2009/08/18/easy-steps-to-create-a-drop-down-box-in-microsoft-expression-web/</link>
		<comments>http://www.saffronstroke.com/2009/08/18/easy-steps-to-create-a-drop-down-box-in-microsoft-expression-web/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 12:15:54 +0000</pubDate>
		<dc:creator>Minal</dc:creator>
				<category><![CDATA[Expression Web]]></category>
		<category><![CDATA[DHTML]]></category>
		<category><![CDATA[drop down]]></category>
		<category><![CDATA[drop down box]]></category>
		<category><![CDATA[drop down menu]]></category>
		<category><![CDATA[Expression Web 2]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[jump menu]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://saffronstroke.com/?p=639</guid>
		<description><![CDATA[A drop down box can be created as a form object. But when you want it to be independent, without a form, you could do it with a ‘Jump Menu’. Here is how to create a jump menu, follow these steps: Go to the Behaviors task pane, which should be visible besides the Apply and [...]]]></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/08/18/easy-steps-to-create-a-drop-down-box-in-microsoft-expression-web/"></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%2F08%2F18%2Feasy-steps-to-create-a-drop-down-box-in-microsoft-expression-web%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.saffronstroke.com%2F2009%2F08%2F18%2Feasy-steps-to-create-a-drop-down-box-in-microsoft-expression-web%2F&amp;style=normal" height="61" width="50" /><br />
			</a>
		</div>
<p>A drop down box can be created as a form object. But when you want it to be independent, without a form, you could do it with a ‘Jump Menu’. Here is how to create a jump menu, follow these steps:</p>
<ol>
<li>Go to the Behaviors task pane, which should be visible besides the Apply and Manage Styles task pane. If it is not visible, go to Task Panes menu and choose Behaviors.</li>
<li>Place you cursor at the location where you want to add the drop down menu.</li>
<li>In the Behaviors task pane, click the ‘Insert’ button and choose ‘Jump Menu’.</li>
<p><img class="alignnone size-full wp-image-640" title="Behaviors" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/behaviors.jpg" alt="Behaviors" width="194" height="254" /> </p>
<li>This will launch the Jump Menu dialog box.</li>
<p><img class="alignnone size-full wp-image-641" title="jump_menu_dlg" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/jump_menu_dlg.jpg" alt="jump_menu_dlg" width="403" height="295" /> </p>
<li>Click on Add button and the Add Choice dialog box will be prompted.</li>
<p><img class="alignnone size-full wp-image-642" title="Add_Choice" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/add_choice.jpg" alt="Add_Choice" width="420" height="240" /> </p>
<p>Add the choice and their value. You can also browse to the URL. When done, , click on OK.</p>
<li>Similarly add all the choices and click OK in the Jump Menu dialog box.</li>
<p><img class="alignnone size-full wp-image-643" title="jump_menu_withchoices" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/jump_menu_withchoices.jpg" alt="jump_menu_withchoices" width="417" height="295" />  </p>
<p>The choices will be displayed the way they are added. But you can always use the Move Up and Move Down buttons to rearrange the items.</p>
<li>‘Open URLs in:’ lets you choose if you would like to open the URL in the same window or a new window. ‘Select first item after URL change’ checkbox when checked will always highlight the first option in the drop down after every URL change.</li>
<li>The drop down won’t work in Design view, but when previewed in the browser, it would look like:</li>
</ol>
<p>          <img class="alignnone size-full wp-image-644" title="jump_menu_2" src="http://www.saffronstroke.com/wp-content/uploads/2009/08/jump_menu_2.jpg" alt="jump_menu_2" width="197" height="92" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.saffronstroke.com/2009/08/18/easy-steps-to-create-a-drop-down-box-in-microsoft-expression-web/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

