<?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>Closer To The Ideal &#187; css</title>
	<atom:link href="http://www.teamlalala.com/blog/category/css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.teamlalala.com/blog</link>
	<description>life does not allow perfection, it allows iterations, moments of insight that take us closer to the ideal</description>
	<lastBuildDate>Fri, 30 Jul 2010 16:25:40 +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>Empowering great designers to work freely with the HTML in a Symfony project</title>
		<link>http://www.teamlalala.com/blog/2009/05/19/empowering-great-designers-to-work-freely-with-the-html-in-a-symfony-project/</link>
		<comments>http://www.teamlalala.com/blog/2009/05/19/empowering-great-designers-to-work-freely-with-the-html-in-a-symfony-project/#comments</comments>
		<pubDate>Tue, 19 May 2009 05:26:03 +0000</pubDate>
		<dc:creator>lawrence</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[design lead development]]></category>
		<category><![CDATA[designers]]></category>
		<category><![CDATA[experience rich design]]></category>
		<category><![CDATA[graphic design]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[php frameworks]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[separation of concerns]]></category>
		<category><![CDATA[symfony]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[user experience]]></category>

		<guid isPermaLink="false">http://www.teamlalala.com/blog/?p=328</guid>
		<description><![CDATA[I&#8217;ve had the good fortune to work with some truly great designers. These are people who are understand the client&#8217;s needs, who understand the users, and who naturally develop web sites that feel intuitive to the people who use the site. Long ago I learned that, when working with such designers, it was important to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had the good fortune to work with some truly great designers. These are people who are understand the client&#8217;s needs, who understand the users, and who naturally develop web sites that feel intuitive to the people who use the site. Long ago I learned that, when working with such designers, it was important to empower them with the code they needed, but to otherwise stay out of the way. In particular, such designers need access to the HTML of the site. When I hide the HTML away inside of PHP functions, I&#8217;m limiting the ability of these maestros to perform. </p>
<p>This has implications when working with a framework like Symfony. </p>
<p>A lot of computer programmers would add an image to a Symfony template by using one of the image helpers:</p>
<p>&lt;?php echo image_tag(&#8217;banner.jpg&#8217;) ?&gt;</p>
<p>But what if the designer needs to add a CSS class to this? What if they are working late at night, and they are unable to reach me? Or they are working in the middle of the day, but it is a day I&#8217;m spending away from my computer? </p>
<p>The designers I work with can read PHP code fairly well. And they can look up the image_tag helper and figure out its syntax. But this is a big waste of their time. It takes them further into the world of programming than they should need to go. </p>
<p>When creating URLs in a Symfony project, it is important to use helpers. The helpers take care of figuring out what the right URL should be for things like images. The helpers allow us to develop on one machine and deploy to another server when we go live, and even if that other server has a completely different directory structure, we don&#8217;t need to change any links, because the helpers take care of all that for us. However, managing the URLs is the only thing that the helpers should do. </p>
<p>So we do not do this: </p>
<p>&lt;?php echo image_tag(&#8217;banner.jpg&#8217;) ?&gt;</p>
<p>Instead we either do this:</p>
<p>&lt;img src=&#8221;&lt;?php echo $sf_request->getRelativeUrlRoot() ?&gt;/images/banner.jpg&#8221; /&gt;</p>
<p>or we do this: </p>
<p>&lt;?php    sfLoader::loadHelpers(array(&#8217;Url&#8217;)); ?&gt;<br />
&lt;img src=&#8221;&lt;?php echo  public_path(&#8217;banner.jpg&#8217;) ?&gt;&#8221; /&gt;</p>
<p>This way the URL is managed by Symfony&#8217;s helpers, but the rest of the IMG tag is still free for the designers to work with. If a designer needs to add a CSS class, they don&#8217;t need to call me on the phone and get me to do it, and they don&#8217;t have to start researching Symfony helper tags, instead they just add the CSS class like they always have: </p>
<p>&lt;img class=&#8221;header&#8221; src=&#8221;&lt;?php echo  public_path(&#8217;banner.jpg&#8217;) ?&gt;&#8221; /&gt;</p>
<p>This is an important bit of project management. It allows for a correct separation of concerns &#8211; the designers get to focus on design, and the programmers can focus on the programming. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamlalala.com/blog/2009/05/19/empowering-great-designers-to-work-freely-with-the-html-in-a-symfony-project/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>When can we use transparency in PNG files? How about rounded corners via CSS 3?</title>
		<link>http://www.teamlalala.com/blog/2009/02/14/when-can-we-use-transparency-in-png-files-how-about-rounded-corners-via-css-3/</link>
		<comments>http://www.teamlalala.com/blog/2009/02/14/when-can-we-use-transparency-in-png-files-how-about-rounded-corners-via-css-3/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 21:25:41 +0000</pubDate>
		<dc:creator>lawrence</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[website development]]></category>

		<guid isPermaLink="false">http://www.teamlalala.com/blog/2009/02/14/when-can-we-use-transparency-in-png-files-how-about-rounded-corners-via-css-3/</guid>
		<description><![CDATA[This project is tracking all the new upcoming web technologies, like CSS 3, which will allow us to have rounded corners without having to use images. Also, elements such as Canvas. Also, other technologies, such as transparency in PNG images.
Right now, none of these technologies are usable because at least one major browser doesn&#8217;t support [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://a.deveria.com/caniuse/#agents=All&amp;cats=All&amp;eras=All&amp;statuses=All">This project is tracking all the new upcoming web technologies</a>, like CSS 3, which will allow us to have rounded corners without having to use images. Also, elements such as Canvas. Also, other technologies, such as transparency in PNG images.</p>
<p>Right now, none of these technologies are usable because at least one major browser doesn&#8217;t support them. But clearly, over the next year, most of these technologies will become usable in all major, newer browsers. Then the question becomes, at what point do these features have enough market share that you&#8217;d want to use them on a commercial site?</p>
<p>The reality that a new version of HTML will soon come out makes me aware of how stagnant things have been for the last 6 or 7 years. Compared to the incredible speed with which things evolved during 1994 to 1999, the last few years have been one of consolidation:</p>
<p>I&#8217;ve younger friends who&#8217;ve become web designers in the last 4 years and who&#8217;ve never seen an evolution of the technology. They learned CSS 2 and HTML 4, and that is what they are still using now.</p>
<p>Universities now offer classes in something called &#8220;web design&#8221;.</p>
<p>There is now a profession called &#8220;web design&#8221;.</p>
<p>This profession is now in control of the standards around which the profession does its work.</p>
<p>The usual  balance-of-power conflicts between for-profit corporations and the professions, have become normal for the field.</p>
<p>Consolidation has been the rule. Perhaps it was necessary.</p>
<p>The web is in desperate need of new element options. My friend <a href="http://fuscata.com/">Chris Clarke</a> likes to joke that HTML 5 will bring web forms up to the level of interaction offered by Visual Basic 1.0. I am hopeful that this next year will rekindle the forward momentum of innovation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamlalala.com/blog/2009/02/14/when-can-we-use-transparency-in-png-files-how-about-rounded-corners-via-css-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>15 of the top 20 websites use tables for layout</title>
		<link>http://www.teamlalala.com/blog/2009/02/05/15-of-the-top-20-websites-use-tables-for-layout/</link>
		<comments>http://www.teamlalala.com/blog/2009/02/05/15-of-the-top-20-websites-use-tables-for-layout/#comments</comments>
		<pubDate>Fri, 06 Feb 2009 01:24:07 +0000</pubDate>
		<dc:creator>lawrence</dc:creator>
				<category><![CDATA[amazon]]></category>
		<category><![CDATA[bad design]]></category>
		<category><![CDATA[broken web sites]]></category>
		<category><![CDATA[broken websites]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[graphic design]]></category>
		<category><![CDATA[myspace]]></category>
		<category><![CDATA[semantic markup]]></category>
		<category><![CDATA[usability]]></category>
		<category><![CDATA[valid markup]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[website development]]></category>
		<category><![CDATA[yahoo]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.teamlalala.com/blog/2009/02/05/15-of-the-top-20-websites-use-tables-for-layout/</guid>
		<description><![CDATA[A very interesting post by I Am El Gringo:
For the time-constrained, I submit to you the results of my highly scientific research:

Yahoo: Minimal Use of tables. I found a picture of Hugh Downs horizontally aligned with it&#8217;s caption in a table
Google Home Page: Not only does Google use tables for it&#8217;s iconic home page, it [...]]]></description>
			<content:encoded><![CDATA[<p>A very interesting post by <a href="http://iamelgringo.blogspot.com/2009/02/tables-vs-css-css-trolls-begone.html">I Am El Gringo</a>:</p>
<blockquote><p>For the time-constrained, I submit to you the results of my highly scientific research:</p>
<ul>
<li><a href="http://www.yahoo.com/">Yahoo</a>: Minimal Use of tables. I found a picture of Hugh Downs horizontally aligned with it&#8217;s caption in a table</li>
<li><a href="http://www.google.com/">Google Home Page</a>: Not only does Google use tables for it&#8217;s iconic home page, it embeds styling in the &lt;td&gt; tags. The horror.</li>
<li><a href="http://youtube.com/">YouTube</a>: Uses tables for of layout of videos</li>
<li><a href="http://home.live.com/">Windows Live</a>: Uses tables for footer layout</li>
<li><a href="http://www.msn.com/">MSN</a>: There is one table, but it&#8217;s only for stockquotes which is tabular data</li>
<li><a href="http://www.myspace.com/">MySpace</a> Semantically pure. MySpace. Whoda thunk it</li>
<li><a href="http://www.facebook.com/">Facebook</a>: Does form layout with tables</li>
<li><a href="http://www.blogger.com/">Blogger</a>:  No tables anywhere on the front page</li>
<li><a href="http://www.orkut.com/">Orkut</a> All tables all the time</li>
<li><a href="http://www.rapidshare.com/">Rapidshare</a>: A table with a single &lt;td&gt; for header placement. And again a single &lt;td&gt; table for the central &#8220;browse&#8221; section. Tsk tsk</li>
<li><a href="http://www.microsoft.com/">Microsoft</a>: Navigation bar is a table. What did you expect? Unicorns and rainbows?</li>
<li><a href="http://www.google.co.in/">Google India</a>:  It&#8217;s the same Google layout. I wonder if they used copy and paste for the template?</li>
<li><a href="http://www.ebay.com/">Ebay</a>: Tables, tables every where</li>
<li><a href="http://www.hi5.com/">Hi5</a>: Tables for every thing, pretty much. BTW, I didn&#8217;t even know this site existed until last week. Alexa rank 14!?</li>
<li><a href="http://www.photobucket.com/">Photobucket</a>: Tables for photo gallery layout</li>
<li><a href="http://www.aol.com/">AOL</a>: AOL&#8217;s layout is semantically pure! Friggin AOL?</li>
<li><a href="http://www.google.co.uk/">Google UK</a>: Same GOOG layout. I&#8217;m now sure the copied an pasted their html</li>
<li><a href="http://www.amazon.com/">Amazon</a>: Now that&#8217;s just silly</li>
<li><a href="http://www.imdb.com/">IMDB</a>: They used tables for their 3 column layout. What! No CSS framework?</li>
<li><a href="http://www.imageshack.us/">Imageshack</a>: Semantically pure as the driven snow.</li>
<li>Finally, even though it&#8217;s not on Alexa&#8217;s top 20, log in to your <a href="http://www.gmail.com/">Gmail</a> account and look at<br />
the use of tables</li>
</ul>
<p><strong>My Hypothesis:  Pure CSS design == overcompensation</strong></p>
<p>So, the five companies that use CSS are the web powerhouses&#8211;MSN, MySpace, Blogger, AOL and Imageshack. MSN, MySpace and AOL have been maligned for years throughout the web savvy community. My hypothesis is that these companies are overcompensating for the crap that they&#8217;ve taken thoughtout the years by designing their site in pure CSS.</p>
<p>Other companies that have more web street-cred like Google and Facebook don&#8217;t really have to worry about how the web design community sees them. This leads to things like Google making extensive use of inline styling on their homepage instead of putting it in their stylesheet. I&#8217;ve never heard anyone claim that the <a href="http://www.google.com/search?hl=en&amp;client=firefox-a&amp;rls=org.mozilla%3Aen-US%3Aofficial&amp;hs=tjP&amp;q=%22Google+folks+are+slouches%22&amp;btnG=Search">Google folks are slouches </a>at the web design/development thing.  Why is that?</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.teamlalala.com/blog/2009/02/05/15-of-the-top-20-websites-use-tables-for-layout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sjoerd Visscher&#8217;s revelation</title>
		<link>http://www.teamlalala.com/blog/2008/02/17/sjoerd-visschers-revelation/</link>
		<comments>http://www.teamlalala.com/blog/2008/02/17/sjoerd-visschers-revelation/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 02:44:05 +0000</pubDate>
		<dc:creator>lawrence</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[html5]]></category>
		<category><![CDATA[internet explorer (microsoft)]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.teamlalala.com/blog/2008/02/17/sjoerd-visschers-revelation/</guid>
		<description><![CDATA[Via Sam Ruby, we are pointed to this in the comments at Intertwingly:
Btw, if you want CSS rules to apply to unknown elements in IE, you just have to do document.createElement(elementName). This somehow lets the CSS engine know that elements with that name exist.
This could be a viable strategy for using HTML5 and styling the [...]]]></description>
			<content:encoded><![CDATA[<p>Via Sam Ruby, we are pointed to this <a href="http://intertwingly.net/blog/2008/01/22/Best-Standards-Support#c1201006277">in the comments at Intertwingly</a>:</p>
<blockquote><p>Btw, if you want CSS rules to apply to unknown elements in IE, you just have to do document.createElement(elementName). This somehow lets the CSS engine know that elements with that name exist.</p></blockquote>
<p>This could be a viable strategy for <a href="http://intertwingly.net/blog/2008/01/26/SVG-Shiv">using HTML5 and styling the results in IE</a>, even if IE does not support certain tags.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamlalala.com/blog/2008/02/17/sjoerd-visschers-revelation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Old Navy website is broken too</title>
		<link>http://www.teamlalala.com/blog/2007/09/30/old-navy-website-is-broken-too/</link>
		<comments>http://www.teamlalala.com/blog/2007/09/30/old-navy-website-is-broken-too/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 02:23:15 +0000</pubDate>
		<dc:creator>lawrence</dc:creator>
				<category><![CDATA[broken web sites]]></category>
		<category><![CDATA[broken websites]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[error messages]]></category>
		<category><![CDATA[html]]></category>
		<category><![CDATA[old navy]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[project management]]></category>
		<category><![CDATA[semantic markup]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[valid markup]]></category>

		<guid isPermaLink="false">http://www.teamlalala.com/blog/2007/09/30/old-navy-website-is-broken-too/</guid>
		<description><![CDATA[Well, maybe &#8220;broken&#8221; is too strong a word. The CSS failed to load. Which happens sometimes. Which is part of why semantic markup is important. How much does the user experience survive the lack of style sheets? This from the front page of Old Navy:

Just curious, but does anyone know some common reasons why the [...]]]></description>
			<content:encoded><![CDATA[<p>Well, maybe &#8220;broken&#8221; is too strong a word. The CSS failed to load. Which happens sometimes. Which is part of why semantic markup is important. How much does the user experience survive the lack of style sheets? This from the front page of <a href="http://www.oldnavy.com/">Old Navy</a>:</p>
<p><a href="http://www.teamlalala.com/blog/wp-content/oldnavybroken.jpg" title="oldnavybroken.jpg"><img src="http://www.teamlalala.com/blog/wp-content/oldnavybroken.thumbnail.jpg" alt="oldnavybroken.jpg" /></a></p>
<p>Just curious, but does anyone know some common reasons why the CSS files might fail to load?</p>
<p>Also curious about the marketing. The front page of the site is aimed entirely at women. Do women buy clothes online more than men?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamlalala.com/blog/2007/09/30/old-navy-website-is-broken-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The 2nd paragraph from page 114 of &#8220;The Zen Of CSS Design&#8221;</title>
		<link>http://www.teamlalala.com/blog/2007/09/13/the-2nd-paragraph-from-page-114-of-%e2%80%9cthe-zen-of-css-design%e2%80%9d/</link>
		<comments>http://www.teamlalala.com/blog/2007/09/13/the-2nd-paragraph-from-page-114-of-%e2%80%9cthe-zen-of-css-design%e2%80%9d/#comments</comments>
		<pubDate>Fri, 14 Sep 2007 02:35:21 +0000</pubDate>
		<dc:creator>lawrence</dc:creator>
				<category><![CDATA[The Zen Of CSS Design]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[ihanuman.com]]></category>

		<guid isPermaLink="false">http://www.teamlalala.com/blog/2007/09/13/the-2nd-paragraph-from-page-114-of-%e2%80%9cthe-zen-of-css-design%e2%80%9d/</guid>
		<description><![CDATA[An email I just sent my co-workers:
I fixed the problem on account.php. The videos and audios were positioning themselves relative to &#8220;trackList&#8221; instead of relative to &#8220;your_audio_video&#8221;. I fixed it by adding:
position:relative;
to the div with the id of &#8220;your_audio_video&#8221;.
Please read the 2nd paragraph from page 114 of &#8220;The Zen Of CSS Design&#8221;. It&#8217;s a good [...]]]></description>
			<content:encoded><![CDATA[<p class="entry">An email I just sent my co-workers:</p>
<p>I fixed the problem on <a href="http://www.ihanuman.com/account.php">account.php</a>. The videos and audios were positioning themselves relative to &#8220;trackList&#8221; instead of relative to &#8220;your_audio_video&#8221;. I fixed it by adding:</p>
<p>position:relative;</p>
<p>to the div with the id of &#8220;your_audio_video&#8221;.</p>
<p>Please read the 2nd paragraph from page 114 of &#8220;The Zen Of CSS Design&#8221;. It&#8217;s a good point to remember.</p>
<p>For an interior element to position itself relative to the element that encloses it, that enclosing element must have one of these lines:</p>
<p>position:relative;</p>
<p>position:absolute;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.teamlalala.com/blog/2007/09/13/the-2nd-paragraph-from-page-114-of-%e2%80%9cthe-zen-of-css-design%e2%80%9d/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
