<?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>Expression Web Tips &#187; CSS</title>
	<atom:link href="http://www.expression-web-tips.com/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.expression-web-tips.com</link>
	<description>Expression Web Tips &#38; Help</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:33:11 +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>Structural Naming Convention in CSS</title>
		<link>http://www.expression-web-tips.com/structural-naming-convention-in-css/</link>
		<comments>http://www.expression-web-tips.com/structural-naming-convention-in-css/#comments</comments>
		<pubDate>Thu, 29 Jul 2010 17:33:11 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=714</guid>
		<description><![CDATA[<p>Found this interesting and informative post on the Six Revisions blog which is part of his CSS Tips series.</p>
<p>Structural naming convention means that you name elements by describing what they are, rather than where they are or how the look. You do this by assigning a class (dot) or id (# hash mark) to the [...]]]></description>
			<content:encoded><![CDATA[<p>Found this interesting and informative post on the Six Revisions blog which is part of his <strong>CSS Tips series</strong>.</p>
<p><strong>Structural naming convention</strong> means that you name elements by describing what they are, rather than where they are or how the look. You do this by assigning a class (dot) or id (# hash mark) to the element.  <strong>Presentational naming</strong> describes the location and/or appearance of web page elements.</p>
<p>The post discusses the concept of structural naming conventions, the benefits of using this convention, and shares some guidelines on practical applications of structural naming conventions.</p>
<p>First he gives an example (1) of a presentational naming layout and then discusses what is wrong with this approach. The presentational naming layout inlcudes:</p>
<ul>
<li>#top-div</li>
<li>#left-col</li>
<li>#right-col</li>
<li>#bottom-div</li>
</ul>
<p>The next example (2) uses a structural naming convention and includes the following:</p>
<ul>
<li>#header</li>
<li>#main-content</li>
<li>#secondary-content</li>
<li>#footer</li>
</ul>
<p>Example 3 really uses structural naming conventions which includes:</p>
<ul>
<li>#branding</li>
<li>#main-content</li>
<li>#secondary-content</li>
<li>#site-info</li>
</ul>
<p>The last example,using  fully-structural in naming conventions,  describes what the div’s and other elements are for, instead of where they are or how they look.</p>
<p>The second part of the post offers a few guidelines which include:</p>
<ol>
<li>When assigning a class or id, ask yourself “What is this element for?”</li>
<li>Avoid using names that rely on locational or visual aspects of the particular element.</li>
<li>Use names that are intuitive to you.</li>
</ol>
<p>He also includes some Further reading resources on this same topic:</p>
<ul>
<li>
<a href="http://meyerweb.com/eric/thoughts/2004/06/26/structural-naming/">Structural  Naming</a></li>
<li><a href="http://articles.techrepublic.com.com/5100-10878_11-5286783.html">Standardizing  CSS class and id names</a></li>
<li><a href="http://www.digital-web.com/articles/build_for_the_future_bend_dont_break/">Build  for the Future: Bend, Don’t Break</a></li>
</ul>
<p>You can read  <a title="CSS Tip #2: Structural Naming Convention in CSS" href="http://sixrevisions.com/css/css-tips/css-tip-2-structural-naming-convention-in-css/">CSS Tip #2: Structural Naming Convention in CSS</a> in its entirety.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/structural-naming-convention-in-css/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTML / CSS Template Creation Tips and Tricks</title>
		<link>http://www.expression-web-tips.com/html-css-template-creation-tips-and-tricks/</link>
		<comments>http://www.expression-web-tips.com/html-css-template-creation-tips-and-tricks/#comments</comments>
		<pubDate>Sun, 18 Jul 2010 18:35:40 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML - XHTML]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=687</guid>
		<description><![CDATA[<p>NEW: From the Factory Tutorial — Today we are going to look at some tips and tricks you can implement when creating an (x)html &#38; css template.  Hopefully these tips will increase the overall quality of your templates.</p>

Write clean code with consistent indentation &#8211; When writing your XHTML code, be consistent in the amount [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>NEW: From the Factory Tutorial — Today we are going to look at some tips and tricks you can implement when creating an (x)html &amp; css template.  Hopefully these tips will increase the overall quality of your templates.</p></blockquote>
<ol>
<li><strong>Write clean code with consistent indentation</strong> &#8211; When writing your XHTML code, be consistent in the amount of spaces you use to indent the various lines. With Expression Web, you can set this under Tools &gt; Page Editor Options &gt; Code Formatting tab. Sent the number of spaces to be used for Indent. You should also limit the number of bank lines you use in between the lines of code.</li>
<li><strong>Comments are your friend</strong>. Using comments is a good way to keep your code organized. From within Expression Web, you can use Code Snippets to insert comments into both your XHTML code and your CSS Code. Ian Hayes has also developed on add-in for Expression Web 4 <a title="Code Comment Add-in." href="http://gallery.expression.microsoft.com/en-us/CodeCommentAddIn">Code Comment Add-In</a>.</li>
<li><strong>Use folders to organize your files</strong> &#8211; Rather than sticking all your files in the root directory of your website, create folders for your images, styles, and javascript files. I add the following folders to my websites for organizational purposes:
<ol>
<li>images</li>
<li>css</li>
<li>js</li>
<li>dwt</li>
</ol>
</li>
<li><strong>Write standards compliant code</strong>. Make sure to check and see if your XHTML code validates as well as your CSS. This will help ensure that your pages display as you expect in all browsers. Expression Web can help you do this by using the <a title="Compatibility Checker on Status Bar." href="http://www.expression-web-tutorials.com/ew4/compatibility-checker.html">Compatibility Checker on Status Bar</a>.</li>
<li><strong>Use semantic code</strong> &#8211; HTML is used for writing the code, describing the content NOT for styling the content. The basic idea of semantic code is to write markup that describes your sites content. So instead of using &lt;div class=&#8221;title&#8221;&gt;&lt;strong&gt;Title&lt;/strong&gt;&lt;/div&gt; for the title of your page, use &lt;h1&gt;Title&lt;/h1&gt; which is semantic markup.</li>
<li><strong>Link to your CSS stylesheets in the head of the document</strong>. Create an external style sheet and link to it rather than embedding the styles in the head section of your page.</li>
<li><strong>Put your JavaScript at the bottom</strong>. Placing your scripts right before your closing body tag will allow your sites content to load first, before your JavaScript is loaded.</li>
<li><strong>Let Google host your JavaScript framework</strong>.</li>
<li><strong>Don’t forget about Internet Explorer (Conditional Comments)</strong>.</li>
</ol>
<p>Read <a title="HTML / CSS Template Creation Tips and Tricks." href="http://www.mojo-themes.com/2010/07/html-css-template-creation-tips-and-tricks/">HTML / CSS Template Creation Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/html-css-template-creation-tips-and-tricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Are You Following the Principles of Top Notch CSS Design?</title>
		<link>http://www.expression-web-tips.com/are-you-following-the-principles-of-top-notch-css-design/</link>
		<comments>http://www.expression-web-tips.com/are-you-following-the-principles-of-top-notch-css-design/#comments</comments>
		<pubDate>Sun, 11 Jul 2010 17:22:03 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=676</guid>
		<description><![CDATA[<p>Cascading Style Sheets &#8211; or CSS for short &#8211; allows web designers to separate the presentation of their sites from the content. CSS can be used to style any element of your page or place the elements on the page.</p>
<p>CSS can be an extremely powerful markup language for designers.</p>
<p>However, the CSS that is produced is [...]]]></description>
			<content:encoded><![CDATA[<p>Cascading Style Sheets &#8211; or CSS for short &#8211; allows web designers to separate the presentation of their sites from the content. CSS can be used to style any element of your page or place the elements on the page.</p>
<blockquote><p>CSS can be an extremely powerful markup language for designers.</p>
<p>However, the CSS that is produced is only as good as the principles that are being followed by the designer creating the code.</p>
<p>While you may think that anyone can crank out CSS, there is a big difference between writing CSS and producing top notch CSS.</p>
<p>To ensure that you are on the right track, here are eight CSS principles that every web designer should be following.</p></blockquote>
<p>Are you following these principles for CSS?</p>
<ol>
<li>Take the Time to Validate &#8211; Many of us take the time to validate  our HTML/XHTML code BUT do we do also <a rel="nofollow" href="http://jigsaw.w3.org/css-validator">validate</a> our cascading style sheets? Is the doctype you use up-to-date and correct?</li>
<li>Document (but not in your code) &#8211; Adding comments to your style sheets will help you understand why you did what you did a week or a month from now. It will also help if someone else needs to take over the project at a later date. Adding comments directly to your CSS code will increase the size of the file and, as a result, increase load time. To avoid this, comment your css in a separate file.</li>
<li>Say No to Hacks</li>
<li>Don’t Abuse Divs &#8211; Use the appropriate HTML tag instead of automatically creating a new div.</li>
<li>Put Thought Into Your Class Names -</li>
<li>Embrace Shorthand</li>
<li>Don’t Forget About Printers &#8211; It’s important to use CSS to make your content printer friendly.</li>
<li>Never Stop Learning &#8211; continue to work on learning more about css.</li>
</ol>
<p>Read <a title="Permanent Link to Are You Following the  Principles of Top Notch CSS Design?" href="http://www.webdesignerdepot.com/2008/11/are-you-following-the-principles-of-top-notch-css-design/">Are You Following the Principles of  Top Notch CSS Design?</a> in its entirety.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/are-you-following-the-principles-of-top-notch-css-design/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is browser chrome?</title>
		<link>http://www.expression-web-tips.com/what-is-browser-chrome/</link>
		<comments>http://www.expression-web-tips.com/what-is-browser-chrome/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 19:58:17 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=657</guid>
		<description><![CDATA[<p>Browser chrome does NOT refer to Google&#8217;s addition to the browser market &#8211; Google Chrome.</p>
<p>Browser chrome refers to the borders of a Web browser window, which include the window frames, menus, toolbars and scroll bars. When designing a Web page, the browser chrome must be added to determine the width of the page.</p>
<p>If you look [...]]]></description>
			<content:encoded><![CDATA[<p>Browser chrome does NOT refer to Google&#8217;s addition to the browser market &#8211; Google Chrome.</p>
<p>Browser chrome refers to the borders of a Web browser window, which include the window frames, menus, toolbars and scroll bars. When designing a Web page, the browser chrome must be added to determine the width of the page.</p>
<p>If you look at <a href="http://www.expression-web-tutorials.com/browser-chrome/">http://www.expression-web-tutorials.com/browser-chrome/</a> in both Internet Explorer 8 and Firefox, and Opera, you will see that each of them display a slight margin at the top of the page. This is because of the default setting for each of the browsers.</p>
<p>If I add to the body styles on the external style sheet</p>
<p>body {margin: 0px; padding: 0px; }</p>
<p>and view the same page again in all three browsers, you can see the difference.</p>
<p><a href="http://www.expression-web-tutorials.com/browser-chrome/index-two.html">http://www.expression-web-tutorials.com/browser-chrome/index-two.html</a></p>
<p>In all three browsers, the top of the masthead is now flush against the top of the browser.</p>
<h2>CSS Reset</h2>
<p>Adding {margin: 0px; padding: 0px; } to the body tag is referred to as CSS Reset or Reset CSS. Resetting your style or styles  is the process of resetting or setting the styles of an elements to a baseline value,  This allows you to  avoid cross-browser differences due to their built-in default style settings. By resetting your styles, you avoid defaulting to the browser’s built-in styles, which differs from browser to browser.</p>
<p>CSS Reset is important because it removes inconsistent margins, paddings, line-heights, and other attributes that can cause your web pages to display differently across the various browsers. The reset can be as simple as setting the margins and padding for the body tag or more complex as the settings recommended by Eric Meyers in <a title="Reset Tools - Css Reset." href="http://meyerweb.com/eric/tools/css/reset/">CSS Tools: Reset CSS</a></p>
<p>Each of the Site Templates offered by <a title="Migrating from FrontPage to Expression Web." href="http://www.frontpage-to-expression.com/site-templates/">Migrating from FrontPage to Expression Web</a>, makes use of the following CSS Reset</p>
<p>html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {<br />
margin: 0px;<br />
padding: 0px;<br />
border: 0px;<br />
outline: 0px;<br />
font-size: 100%;<br />
}</p>
<p>You can read more about CSS Resets at:</p>
<ul>
<li><a href="http://sixrevisions.com/css/css-tips/css-tip-1-resetting-your-styles-with-css-reset/">http://sixrevisions.com/css/css-tips/css-tip-1-resetting-your-styles-with-css-reset/</a></li>
<li><a href="http://www.css-reset.com/">http://www.css-reset.com/</a></li>
<li><a href="http://www.vcarrer.com/2010/05/css-mini-reset.html">http://www.vcarrer.com/2010/05/css-mini-reset.html</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/what-is-browser-chrome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Box Model: The Foundation For Improving Your CSS</title>
		<link>http://www.expression-web-tips.com/css-box-model/</link>
		<comments>http://www.expression-web-tips.com/css-box-model/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 21:44:58 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=371</guid>
		<description><![CDATA[<p class="wp-caption-text">CSS Box Model Illustration</p>
<p>The CSS box model lies behind everything you do in CSS. Every element is defined by a rectangular box that encloses that element. Understanding how the box model works is a key to understanding CSS and having greater control over your layout and presentation. . . . .In nutshell, the box [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_378" class="wp-caption aligncenter" style="width: 310px"><a rel="attachment wp-att-378" href="http://www.expression-web-tips.com/css-box-model/w3schools-box-model/"><img class="size-medium wp-image-378" title="w3schools-box-model" src="http://www.expression-web-tips.com/images/w3schools-box-model-300x162.jpg" alt="CSS Box Model Illustration" width="300" height="162" /></a><p class="wp-caption-text">CSS Box Model Illustration</p></div>
<blockquote><p>The <a href="http://www.w3.org/TR/CSS2/box.html"><strong>CSS box model</strong></a> lies behind everything you do in CSS. Every element is defined by a rectangular box that encloses that element. Understanding how the box model works is a key to understanding CSS and having greater control over your layout and presentation. . . . .In nutshell, the box model in CSS describes the boxes which are being generated for HTML-elements. ~ Steven Bradley ~</p></blockquote>
<p>Details covered in the article include:</p>
<ul>
<li>What is the CSS Box Model?</li>
<li>Differences Between Block Boxes and Inline Boxes</li>
<li>Floats, Positioning, and the Normal Document Flow</li>
<li>Calculating the Widths and Heights of Boxes</li>
<li>Issues with IE6 and the Box Model</li>
</ul>
<p>Read  <a title="Permanent Link to CSS Box Model: The Foundation For Improving Your CSS" rel="bookmark" href="http://www.instantshift.com/2009/11/16/css-box-model-the-foundation-for-improving-your-css/">CSS Box Model: The Foundation For Improving Your CSS</a> and you will learn the tips and techniques for working with the CSS box model.</p>
<h3>Additional Resources for Understanding the CSS Box Model</h3>
<ul>
<li> <a title="Interactive CSS Box Model Demo." href="http://redmelon.net/tstme/box_model/">Interactive CSS Box Model Demo</a></li>
<li><a title="The Box Model." href="http://www.brainjar.com/css/positioning/default.asp">The Box Model</a></li>
<li><a title="The CSS Box Model." href="http://css-tricks.com/the-css-box-model/">The CSS Box Model</a> by Chris Coyier</li>
<li><a title="CSS Box Model by W3Schools." href="http://www.w3schools.com/CSS/css_boxmodel.asp">CSS Box Model</a> by W3Schools</li>
<li><a title="Escaping the Box Model." href="http://3nhanced.com/css/escaping-the-box-model/">Escaping the Box Model</a></li>
<li><a title="&lt;!Doctype html&gt; &amp; IE Box Model" href="http://freepages.rootsweb.ancestry.com/~bristowe/box-model/ie-width-nd.html#">&lt;!Doctype html&gt; &amp; IE Box Model</a> by Barry Carlson</li>
</ul>
<p>If you are using Expression Web, you will see an example of the css box model reference in the Modify Style or New Style Dialog Box when you select the Box category.</p>
<div id="attachment_375" class="wp-caption alignnone" style="width: 310px"><a rel="attachment wp-att-375" href="http://www.expression-web-tips.com/css-box-model/ew-box-model/"><img class="size-medium wp-image-375" title="ew-box-model" src="http://www.expression-web-tips.com/images/ew-box-model-300x275.jpg" alt="Expression Web CSS Box Model Reference." width="300" height="275" /></a><p class="wp-caption-text">Expression Web CSS Box Model Reference.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/css-box-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple CSS Tips</title>
		<link>http://www.expression-web-tips.com/simple-css-tips/</link>
		<comments>http://www.expression-web-tips.com/simple-css-tips/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 00:30:14 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=359</guid>
		<description><![CDATA[<p>I&#8217;m always on the lookout for CSS Tips that might help you with your site design and make your work a little simpler. Simple CSS Tips that Go a Long Way has a few suggestions you might want to try out.</p>
<p>Sometimes it’s the little things that can make all the difference and there are plenty [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m always on the lookout for CSS Tips that might help you with your site design and make your work a little simpler. Simple CSS Tips that Go a Long Way has a few suggestions you might want to try out.</p>
<blockquote><p>Sometimes it’s the little things that can make all the difference and there are plenty of neat little CSS tips that can help with all aspects of design and development. Here are a few great tips that will help you improve your CSS work and help you get the most out of your code.</p></blockquote>
<p>Included are the following:</p>
<ol>
<li>Reset Browsers’ Default Styling  &#8211; many of the <a title="F REE Expression Web Dynamic Web Templates." href="http://www.expression-web-tutorials.com/ew-templates.html">F REE Expression Web DWT&#8217;s </a>that I offer are based on Eric Meyer&#8217;s CSS Sculptor for Expression Web and make use of <a title="Eric Meyer's Reset CSS." href="http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/">Eric Meyer’s Reset CSS</a></li>
<li>CSS Cursor Tip</li>
<li>CSS Sprite Images</li>
<li>Focus States for Form Fields</li>
<li>Useful Comments</li>
<li>Center Elements Horizontally</li>
<li>Override Inline Styles</li>
<li>Easily Find Elements to Fix Problems</li>
<li>Print Style Sheet</li>
</ol>
<p>You can read <a title="Simple CSS Tips that Go a Long Way." href="http://inspectelement.com/articles/simple-css-tips-that-go-a-long-way/">Simple CSS Tips that Go a Long Way</a> by Tom Kenny in its entirety and get the css for each of the suggestions listed above to try out on your own site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/simple-css-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>max-width and IE6</title>
		<link>http://www.expression-web-tips.com/max-width-and-ie6/</link>
		<comments>http://www.expression-web-tips.com/max-width-and-ie6/#comments</comments>
		<pubDate>Fri, 23 Oct 2009 17:10:21 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML - XHTML]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=306</guid>
		<description><![CDATA[<p>I have been working on a new set of templates to offer to the Migrating from FrontPage to Expression Web EBook owners and class students. I wanted to use a photo taken by a friend in the masthead. I also wanted to limit the width of the container for the page content to no wider [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working on a new set of templates to offer to the <a title="Migrating from FrontPage to Expression Web." href="http://www.frontpage-to-expression.com/">Migrating from FrontPage to Expression Web</a> EBook owners and class students. I wanted to use a photo taken by a friend in the masthead. I also wanted to limit the width of the container for the page content to no wider than 1200px. No problem, just use max-width property in the external style sheet.</p>
<p>Example:</p>
<blockquote>
<pre>#outerWrapper {
	background-color: #fff;
	width: 80%;
	text-align: left;
	max-width: 1200px;
	margin: 20px auto;

}</pre>
</blockquote>
<p>Only one problem, Internet Explorer 6 and below does not recognize the max-width property. So I went searching with my friend Google and came up with a number of suggestions for fixes:</p>
<ul>
<li><a title="Stu Nicholls | CSSplay | max-width for Internet Explorer IE6." href="http://www.cssplay.co.uk/boxes/maxwidth.html">Stu Nicholls | CSSplay | max-width for Internet Explorer IE6</a> -  a CSS only answer to &#8216;max-width&#8217; for IE6.</li>
<li><a title="Permalink: CSS Hackz Series: Minimum Width, Maximum Width for Internet Explorer 6" href="http://perishablepress.com/press/2008/05/19/css-hackz-series-minimum-width-maximum-width-for-internet-explorer-6/">CSS Hackz Series: Minimum Width, Maximum Width for Internet Explorer 6</a></li>
<li><a title="Setting Maximum Width For Image In IE6, IE7 &amp; Firefox ~ Mattias Geniar." href="http://mattiasgeniar.be/2008/08/22/setting-maximum-width-for-image-in-ie6-ie7-firefox/">Setting Maximum Width For Image In IE6, IE7 &amp; Firefox ~ Mattias Geniar</a></li>
<li><a title="CSS minimum and maximum sizes." href="http://www.doxdesk.com/software/js/minmax.html">doxdesk CSS minimum and maximum sizes</a> &#8211; This script makes these CSS properties work transparently in IE version 5.0 upwards on all platforms except Mac.</li>
</ul>
<p>My choices seemed to be to use a simple “hack” to get it working, by using expressions (in javascript-like syntax) in CSS which Expression Web 3.0 did NOT like or javascript. I chose the latter and used the last one on the above list as it seemed to handle not only max-width, but min-width, max-height, and min-height. Of course, if the viewer has javascript disabled it will not work.</p>
<p>The three column template that is one of the three offered in this package looks like the image below and should display from 800x600px with no horizontal scroll and for higher resolution monitors will display at no wider than 1200px. A simple solution to a vexing problem.</p>
<p>So if you want to use a minimum or maximum width or height as part of your style sheet, you might give <a title="CSS minimum and maximum sizes." href="http://www.doxdesk.com/software/js/minmax.html">doxdesk CSS minimum and maximum sizes</a> a try. Just download the <a title="minmax.js." href="http://www.doxdesk.com/file/software/js/minmax.js">minmax.js</a> file and publish it to your server. Then add the following line of code to your DWT:</p>
<blockquote><p><code>&lt;script type="text/javascript" src="minmax.js"&gt;&lt;/script&gt; </code></p></blockquote>
<p>Make sure you adjust the path to the script to where you have published it to your server. My javascript files are located in a folder called js.</p>
<div id="attachment_312" class="wp-caption alignnone" style="width: 383px"><img class="size-full wp-image-312" title="misty-morn3" src="http://www.expression-web-tips.com/images/misty-morn31.jpg" alt="misty-morn3" width="373" height="402" /><p class="wp-caption-text">Misty Morn 3 Column Template.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/max-width-and-ie6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mastering CSS Coding: Getting Started</title>
		<link>http://www.expression-web-tips.com/mastering-css-coding-getting-started/</link>
		<comments>http://www.expression-web-tips.com/mastering-css-coding-getting-started/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 19:54:03 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=302</guid>
		<description><![CDATA[<p>Smashing Magazine is a great online resource. Todays offering is Mastering CSS Coding: Getting Started.</p>
<p>CSS has become the standard for building websites in today’s industry. Whether you are a hardcore developer or designer, you should be familiar with it. CSS is the bridge between programming and design, and any Web professional must have some general [...]]]></description>
			<content:encoded><![CDATA[<p>Smashing Magazine is a great online resource. Todays offering is Mastering CSS Coding: Getting Started.</p>
<blockquote><p>CSS has become the standard for building websites in today’s industry. Whether you are a hardcore developer or designer, you should be familiar with it. CSS is the bridge between programming and design, and any Web professional must have some general knowledge of it. If you are getting your feet wet with CSS, this is the perfect time to fire up your favorite text editor and follow along in this tutorial as we cover the most common and practical uses of CSS.</p></blockquote>
<p>Covered in the article are:</p>
<ol>
<li> Padding vs. margin</li>
<li>Floats</li>
<li> Center alignment</li>
<li>Ordered vs. unordered lists</li>
<li>Styling headings</li>
<li>Overflow</li>
<li>Position</li>
</ol>
<p>Once the basics are covered, they add some enhancements:</p>
<ol>
<li>Background images</li>
<li>Image enhancement</li>
<li>PSD to XHTML</li>
</ol>
<p>Read <a title="Mastering CSS Coding: Getting Started" rel="bookmark" href="http://www.smashingmagazine.com/2009/10/05/mastering-css-coding-getting-started/">Mastering CSS Coding: Getting Started</a> complete with examples.  If you are a beginner using CSS and Expression Web, this may help you to better understand the styles created.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/mastering-css-coding-getting-started/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS Resources</title>
		<link>http://www.expression-web-tips.com/css-resources/</link>
		<comments>http://www.expression-web-tips.com/css-resources/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 14:28:31 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=276</guid>
		<description><![CDATA[<p>Expression Web is designed to create standards compliant websites which use cascading style sheets and separates content from presentation. In order to use Expression Web, you need to learn at least the basics of both CSS and writing HTML/XHTML code.  35 Websites To Teach You How To Use CSS Effectively presents a list of many [...]]]></description>
			<content:encoded><![CDATA[<p>Expression Web is designed to create standards compliant websites which use cascading style sheets and separates content from presentation. In order to use Expression Web, <strong>you need to learn at least the basics of both CSS and writing HTML/XHTML code</strong>.  <a title="35 Websites To Teach You How To Use CSS Effectively." href="http://www.1stwebdesigner.com/css/35-websites-to-teach-you-how-to-use-css-effectively/">35 Websites To Teach You How To Use CSS Effectively</a> presents a list of many of the ones I have recommended for years. They include:</p>
<ol>
<li> <a href="http://www.w3schools.com/css/">W3Schools CSS Tutorial Section</a></li>
<li><a title="HTML Dog - CSS Tutorials Section." href="http://www.htmldog.com/guides/cssbeginner/">HTMLDog – CSS Tutorial Section</a></li>
<li><a title="CSS Tricks." href="http://css-tricks.com/">CSS-Tricks Tutorials, Articles And Screencasts</a></li>
<li><a title="Google Videos - CSS." href="http://video.google.co.uk/videosearch?q=css+tutorial#">Google Videos – CSS</a></li>
<li><a title="A List Apart - CSS Tutorials Section." href="http://www.alistapart.com/topics/code/css/">A List Apart – CSS Tutorial Section</a></li>
<li><a title="RichInStyle - CSS Tutorials." href="http://www.richinstyle.com/guides/introduction1.html">RichInStyle CSS Tutorial Section</a></li>
<li><a title="HTML Goodies - CSS Tutorials." href="http://www.htmlgoodies.com/beyond/css/index.php">HTMLGoodies CSS Tutorial Section</a></li>
<li><a title="CSS Discuss Wiki." href="http://css-discuss.incutio.com/">CSS-Discuss Wiki Tutorial Section</a></li>
<li><a title="Positioning Is Everything." href="http://www.positioniseverything.net/">Positioning Is Everything</a></li>
<li><a title="Learn CSS Positioning in Ten Steps" href="http://www.barelyfitz.com/screencast/html-training/css/positioning/">Learn CSS Positioning in Ten Steps</a></li>
<li><a title="456BereaStreet: The CSS, HTML, and JavaScript Lab." href="http://www.456bereastreet.com/lab/">456BereaStreet: The CSS, HTML, and JavaScript Lab</a></li>
<li><a title="CSS Basics Tutorials." href="http://www.cssbasics.com/">CSSBasics Tutorials</a></li>
<li><a title="CSS-Play – List of Demonstrations." href="http://www.cssplay.co.uk/menu/">CSS-Play – List of Demonstrations</a></li>
<li><a title="Tizag CSS Tutorial Section." href="http://www.tizag.com/cssT/">Tizag CSS Tutorial Section</a></li>
<li><a title="CSS Help Pile." href="http://artypapers.com/csshelppile/">CSS Help Pile</a></li>
<li><a title="Holy CSS Zeldman! – CSS, Accessibility and Standards Links" href="http://dezwozhere.com/links.html">Holy CSS Zeldman! – CSS, Accessibility and Standards Links</a></li>
<li><a title="Eric Meyer : CSS Section." href="http://meyerweb.com/eric/css/">Eric Meyer : CSS Section</a></li>
<li><a title="Andy Budd Links." href="http://www.andybudd.com/links/cssweb_standards/index.php">Andy Budd Links</a></li>
<li><a title="CSS Zen Garden." href="http://csszengarden.com/">CSS Zen Garden</a></li>
<li><a title="Delicious CSS Tag." href="http://delicious.com/tag/css">Delicious CSS Tag</a></li>
<li><a title="MaxDesign CSS Tutorial And Resource Site." href="http://css.maxdesign.com.au/index.htm">MaxDesign CSS Tutorial And Resource Site</a></li>
<li><a title="CSSEasy Tutorial And Resource Site." href="http://www.csseasy.com/">CSSEasy Tutorial And Resource Site</a> &#8211; includes many layouts that you can use for your own projects.</li>
<li><a title="EchoEcho CSS Tutorial Section." href="http://www.echoecho.com/css.htm">EchoEcho CSS Tutorial Section</a></li>
<li><a title="CSS-Discuss Information." href="http://www.css-discuss.org/">CSS-Discuss Information</a> &#8211; a mailing list you can join to discuss aspects of css.</li>
<li><a title="Web Design From Scratch." href="http://webdesignfromscratch.com/html-css/css.php">Web Design From Scratch</a></li>
<li><a title="CSS-Tutorial." href="http://www.csstutorial.net/">CSS-Tutorial</a></li>
<li><a title="CSS Dog Resources And References" href="http://cssdog.com/index.html">CSS Dog Resources And References</a></li>
<li><a title="Web Developer’s Handbook." href="http://www.alvit.de/handbook/">Web Developer’s Handbook</a></li>
<li><a title="CSSDocs CSS Properties." href="http://cssdocs.org/">CSSDocs CSS Properties</a></li>
<li><a title="Stylegala CSS Reference Section." href="http://www.stylegala.com/features/css-reference/">Stylegala CSS Reference Section</a></li>
<li><a title="CSS 3 reference guide, tutorials, and blog" href="http://www.css3.com/">CSS 3 reference guide, tutorials, and blog</a></li>
<li><a title="CSS Cheat Sheet." href="http://lesliefranke.com/files/reference/csscheatsheet.html">CSS Cheat Sheet</a></li>
<li><a title="CSS Property Index." href="http://www.blooberry.com/indexdot/css/propindex/all.htm">CSS Property Index</a> &#8211; A list of CSS Properties Listed Alphabetically.</li>
<li><a title="Sitepoint CSS Reference" href="http://reference.sitepoint.com/css">Sitepoint CSS Reference</a></li>
<li><a title="WestCiv CSS Tutorial Section." href="http://www.westciv.com/style_master/academy/css_tutorial/index.html">WestCiv CSS Tutorial Section</a></li>
</ol>
<p>Some of the resources included are more advanced like the CSS Discuss lists. CSS Zen Garden is  just a neat place to go to seeexactly what is possible with CSS &#8211; how changing just the style sheet totally changes the look of a site. If you are new to using CSS, then start with the basic tutorials and work your way through.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/css-resources/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centering table or div on Page</title>
		<link>http://www.expression-web-tips.com/centeringtable-or-div/</link>
		<comments>http://www.expression-web-tips.com/centeringtable-or-div/#comments</comments>
		<pubDate>Sat, 04 Apr 2009 14:07:13 +0000</pubDate>
		<dc:creator>Patricia Geary</dc:creator>
				<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.expression-web-tips.com/?p=113</guid>
		<description><![CDATA[<p>One question that seems to reappear again and again is &#8220;How can I center my table or div on my page?&#8221; It&#8217;s really fairly simple. First remember:</p>

Use a valid doctype on your page
The &#60;table&#62; or &#60;div&#62; has to have a width less then 100%
The left and right margins need to be set at auto

<p>You can [...]]]></description>
			<content:encoded><![CDATA[<p>One question that seems to reappear again and again is &#8220;How can I center my table or div on my page?&#8221; It&#8217;s really fairly simple. First remember:</p>
<ul>
<li>Use a <a title="Valid doctype statement." href="http://www.htmlbasictutor.ca/doctype-declaration.htm">valid doctype</a> on your page</li>
<li>The &lt;table&gt; or &lt;div&gt; has to have a width less then 100%</li>
<li>The left and right margins need to be set at auto</li>
</ul>
<p>You can read a more detailed tutorial <a title="Center Pages in Browser Window." href="http://www.expression-web-tutorials.com/center-page-in-browser.html">Center Pages in Browser Window</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.expression-web-tips.com/centeringtable-or-div/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
