<?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>80beans &#187; HTML, CSS &amp; JavaScript</title>
	<atom:link href="http://www.80beans.com/category/html-css-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.80beans.com</link>
	<description></description>
	<lastBuildDate>Wed, 21 Jul 2010 13:03:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Syntactically Awesome StyleSheets</title>
		<link>http://www.80beans.com/2009/01/16/syntactically-awesome-stylesheets/</link>
		<comments>http://www.80beans.com/2009/01/16/syntactically-awesome-stylesheets/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 17:12:16 +0000</pubDate>
		<dc:creator>Roy Tomeij</dc:creator>
				<category><![CDATA[HTML, CSS & JavaScript]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.80beans.com/?p=103</guid>
		<description><![CDATA[Syntactically Awesome StyleSheets, or simply &#8220;Sass&#8221; is a great way of structuring your CSS using Ruby syntax. It spices up writing your CSS in several ways (use constants, do calculations, etc), with the most notable feature being the ability to use nested rules. This turns this:
#main
  :width 97%

  p, div
    [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html">Syntactically Awesome StyleSheets</a>, or simply &#8220;Sass&#8221; is a great way of structuring your CSS using Ruby syntax. It spices up writing your CSS in several ways (use constants, do calculations, etc), with the most notable feature being the ability to use nested rules. This turns this:</p>
<pre>#main
  :width 97%

  p, div
    :font-size 2em
    a
      :font-weight bold

  pre
    :font-size 3em
</pre>
<p>into</p>
<pre>#main {
  width: 97%; }
  #main p, #main div {
    font-size: 2em; }
    #main p a, #main div a {
      font-weight: bold; }
  #main pre {
    font-size: 3em; }
</pre>
<p>Just save your Sass file as <code>public/stylesheets/sass/application.sass</code> (filename may vary), and Sass will generate a <code>public/stylesheets/application.css</code>. This file will be re-generated after making changes to your <code>*.sass</code> file. Don&#8217;t forget to set an ignore property on your <code>*.css</code> files, since you don&#8217;t want to have those under version control.</p>
<p>We decided to use it for all our new projects, which has boosted our CSS productivity. Because of the structured syntax, also the not-so-CSS-savvy programmers can easily find what they are looking for in the CSS file. Highly recommended! See the above mentioned website for detailed installation and usage instructions.</p>
<p>Tip: to convert your plain old CSS to Sass, use the &#8220;css2sass&#8221; command line tool (included with haml): <code>css2sass oldfile.css newfile.sass</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.80beans.com/2009/01/16/syntactically-awesome-stylesheets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE8 version targeting</title>
		<link>http://www.80beans.com/2008/01/23/ie8-version-targeting/</link>
		<comments>http://www.80beans.com/2008/01/23/ie8-version-targeting/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 21:28:22 +0000</pubDate>
		<dc:creator>Roy Tomeij</dc:creator>
				<category><![CDATA[HTML, CSS & JavaScript]]></category>

		<guid isPermaLink="false">http://www.80beans.com/2008/01/23/ie8-version-targeting/</guid>
		<description><![CDATA[A lot has been written about it on a lot of blogs, but as a standards aware front-end developer I just have to comment on the matter. Although pretty much everything has been said about it, both pro and con (mostly con).
For those of you who don&#8217;t know what it&#8217;s all about (I can&#8217;t imagine [...]]]></description>
			<content:encoded><![CDATA[<p>A lot has been written about it on a lot of blogs, but as a standards aware front-end developer I just have to comment on the matter. Although pretty much everything has been said about it, both pro and con (mostly con).</p>
<p>For those of you who don&#8217;t know what it&#8217;s all about (I can&#8217;t imagine you missed it), I&#8217;ll sumarize it. On the <a href="http://blogs.msdn.com/ie/archive/2008/01/21/compatibility-and-ie8.aspx">IEBlog</a> the IE development team announced how IE8 will handle backwards (and forwards) compatibility. Credit where credit is due, the IE development team has been doing a great job lately with IE8 even passing the <a href="http://www.webstandards.org/action/acid2">Acid 2 test</a>. But, only if you set the special <code>&lt;meta http-equiv="X-UA-Compatible" content="IE=8" /&gt;</code> element. IE8 will render pages by default using the IE7 rendering engine, because MS doesn&#8217;t want to break websites with every new version of IE. <span id="more-46"></span>Quote: &#8220;We realized that “Don’t Break the Web” should really be translated to “Don’t change what developers expect IE to do for current pages that are already deployed.&#8217;&#8221;. And that&#8217;s just what most standards aware developers have a problem with, since it encourages mediocre developers to keep developing the way they are used to. If IE8 would just render according to web standards by default, much like Firefox or Safari, those developers would need to work on their skills and thus making websites render correctly in all browsers. This would make &#8220;the internet&#8221; more accessible as a whole. All websites that have been developed &#8220;recently&#8221; probably follow web standards anyway, so only the antique websites might look broken when viewed in IE8 with standards mode enabled.</p>
<p>I do understand that for instance some intranet applications dictate the use of IE6. I have no problem with that for such a controlled environment. This could be solved easily if users could just have IE6/7 <em>and</em> IE8 installed on the same Windows installation. In my opinion, websites that may be viewed within a variety of browsers should render pages according to the web standards if possible. For IE8 it&#8217;s possible, but optional.</p>
<p>This new &#8220;feature&#8221; will no doubt keep the world of front-end developers and bloggers busy for a while. I&#8217;m curious if there will be new arguments in favor of these recent developments to change my mind. By the way: using the future HTML5 doctype will automatically force IE8 into &#8220;edge&#8221; mode (being the most recent rendering engine).</p>
<p><strong>UPDATE</strong>: The IE team actually listened to the community and decided to turn the thing around: IE8 rendering is used by default, unless stated otherwise by the code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.80beans.com/2008/01/23/ie8-version-targeting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
