<?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>Seagull Code Nodes &#187; CSS</title>
	<atom:link href="http://blog.joshuasiegal.com/tag/css/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.joshuasiegal.com</link>
	<description></description>
	<lastBuildDate>Tue, 05 Oct 2010 06:25:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>CSS Three, Can&#8217;t Wait for Thee</title>
		<link>https://blog.joshuasiegal.com/2010/css-three-cant-wait-for-thee/</link>
		<comments>https://blog.joshuasiegal.com/2010/css-three-cant-wait-for-thee/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 18:22:13 +0000</pubDate>
		<dc:creator>josh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://blog.joshuasiegal.com/?p=182</guid>
		<description><![CDATA[Well, it&#8217;s not exactly what I&#8217;ve been asking for, but it&#8217;s actually quite a bit better than what I thought we might get.  Like wanting a pony for christmas and getting a great dane. It looks like CSS3 will have some pretty cool new attributes available for us developers.  Of course, it&#8217;s all proposed and [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Well, it&#8217;s not exactly what I&#8217;ve been <a title="A Call For CSS Math" href="http://blog.joshuasiegal.com/2009/a-call-for-css-math/">asking for</a>, but it&#8217;s actually quite a bit better than what I thought we might get.  Like wanting a pony for christmas and getting a great dane.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://theblackboxoffice.com/wp-content/uploads/marmaduke.gif" alt="http://theblackboxoffice.com/wp-content/uploads/marmaduke.gif" /></p>
<p style="text-align: left;">It looks like CSS3 will have some pretty cool new attributes available for us developers.  Of course, it&#8217;s all proposed and not released yet, but let&#8217;s start salivating anyway:</p>
<p><span id="more-182"></span></p>
<p style="text-align: left;">One really cool thing with the potential for hilarious abuse of power is a proposed scale attribute.  Use your own imagination on that one.</p>
<p style="text-align: left;">But that&#8217;s not the best.  The best (if truly implemented) would be a set of CSS specs for creating a multicolumn layout without having to resort to javascript trickery, fakey background images, or ridiculous amounts of div nesting.  <em>Great news, everyone!</em></p>
<p style="text-align: center;"><em><img class="size-full wp-image-198 alignnone" title="professor farnsworth" src="http://blog.joshuasiegal.com/wp-content/uploads/2010/02/farnsworth.jpg" alt="professor farnsworth" width="470" height="330" /><br />
</em></p>
<p style="text-align: left;">Found on these <a title="sixrevisions: CSS3 techniques" href="http://sixrevisions.com/css/css3-techniques-you-should-know/" target="_blank">sixrevisions</a> <a title="sixrevisions: CSS3 resources" href="http://sixrevisions.com/css/20-useful-resources-for-learning-about-css3/" target="_blank">posts</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.joshuasiegal.com/2010/css-three-cant-wait-for-thee/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Call for CSS Math</title>
		<link>https://blog.joshuasiegal.com/2009/a-call-for-css-math/</link>
		<comments>https://blog.joshuasiegal.com/2009/a-call-for-css-math/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 17:59:58 +0000</pubDate>
		<dc:creator>josh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[math]]></category>
		<category><![CDATA[semantic]]></category>

		<guid isPermaLink="false">http://blog.joshuasiegal.com/?p=81</guid>
		<description><![CDATA[Not talking about MathML here, but the addition of simple addition, subtraction, multiplication and division in CSS values. By this time, I&#8217;ve worked my head around the idea that, to many developers (and clients) out there, CSS is the one true way and tables are only good for displaying data &#8211; that is, data that [...]]]></description>
			<content:encoded><![CDATA[<p>Not talking about <a title="MathML" href="http://www.w3.org/Math/" target="_blank">MathML</a> here, but the addition of simple addition, subtraction, multiplication and division in CSS values.</p>
<p>By this time, I&#8217;ve worked my head around the idea that, to many developers (and clients) out there, CSS is the one true way and tables are only good for displaying data &#8211; that is, data that they consider data and not data that someone else might consider data.  See my <a title="Semantic HTML Literacy" href="http://blog.joshuasiegal.com/2009/semantic-html-literacy/">previous post on semantic html</a> for more carping on this topic.  But enough negativity &#8211; I would hereby like to add my voice to the growing number of developers calling for a new future in CSS: [paraphrase] &#8220;If CSS is the golden chalice of front-end web development, how come it can interpret between pixels, point sizes, and em sizes, but it can&#8217;t add 1 + 1?&#8221;</p>
<p>Now, I know, purists will say that Javascript is for math, and CSS is for styling.  Just simply get a good Javascript library and do your math there.  The problem is that other purists will say that using Javascript to generate your CSS positions is pure hackery.  And yet other purists will say &#8220;everyone come to my website to check out my awesome CSS hacks!&#8221;</p>
<p><span id="more-81"></span></p>
<p>Let&#8217;s face up to it: there are some things that CSS is just not that good at.  The idea that you are ruining your SEO by adding three lines of table code to get your column heights equalized seems dubious.  But, I&#8217;m willing to go with that and check out some truly <a title="Matthew James Taylor's Holy Grail 3-Column Layout" href="http://matthewjamestaylor.com/blog/perfect-3-column.htm" target="_blank">weird and wonderful</a> tricks to arrive at the same solution that would take literally half a dozen lines of code using old clunky tables.  But yeah, I&#8217;m sure google&#8217;s robots are completely fooled by a table and a couple of &lt;tr&gt; tags&#8230; [sarcsasm alert].</p>
<p>Anyway, if CSS is going to be responsible for our layout and can have access to and control some of the DOM, why can&#8217;t we just do:</p>
<blockquote><p>#layerid {<br />
width:20%;<br />
margin:10px auto;<br />
height:width * 0.5;<br />
}</p></blockquote>
<p>That would really open things up and allow for some more creative, interactive layouts.  Hopefully, CSS 4 will allow for some of this.  It should be, in my opinion, a no-brainer.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.joshuasiegal.com/2009/a-call-for-css-math/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Semantic HTML Literacy</title>
		<link>https://blog.joshuasiegal.com/2009/semantic-html-literacy/</link>
		<comments>https://blog.joshuasiegal.com/2009/semantic-html-literacy/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 17:56:22 +0000</pubDate>
		<dc:creator>josh</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[divs]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[semantic]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://joshuasiegal.com/blog/?p=1</guid>
		<description><![CDATA[Since shortly after people started using markup to organize data, the dream has been knocked around that one day the structure and the content would become seamlessly intertwined.  However, this is a tiny bit counterintuitive, as I see it, as one of the features of XML, for example, is to delineate data and content apart [...]]]></description>
			<content:encoded><![CDATA[<p>Since shortly after <a title="History of XML - Wikipedia" href="http://en.wikipedia.org/wiki/XML#History" target="_blank">people started using markup to organize data</a>, the dream has been knocked around that one day the structure and the content would become seamlessly intertwined.  However, this is a tiny bit counterintuitive, as I see it, as one of the features of XML, for example, is to delineate data and content apart from the meta-data that applies to it.</p>
<p>The real dream has been that one day, HTML and XML would be combined (not just in terms of the XHTML standard), and that the web would turn into a big soup of meta information.  This would allow all sorts of wonderfully customizable content, searching, cross-threading, and possibly, someday, even help create some kind of internet based solely on context, rather than infrastructure and IP.  Positives: super-personalized web-browsing, advertisements, and content aggregation.  Negatives: super-personalized web-browsing, advertisements, and content aggregation.</p>
<p>But I digress.  The flock to div tags as cleaner and more semantically meaningful has been a beneficial one, but for we web developers who remember the [good?] [bad?] old days, there are more than a few cases in memory of the development community rushing en masse to the next greatest thing, and then flipping it into reverse with the release of the next IE browser / web standard / greatest thing.</p>
<p><span id="more-1"></span></p>
<p>It has gotten to the point where I have seen postings looking for people who write div- and css-based code &#8211; <em>no tables allowed!</em></p>
<p>This is madness.  What is XML, after all, than a method of organizing data?  When you&#8217;re getting an XML feed from a backend, you are converting your data from a table-based format (database) to a markup-based format.  Same data (we hope).  The real question here is page layout.  Surely web developers who are using and editing one another&#8217;s code would rather see:</p>
<blockquote><p>&lt;div id=&#8221;header&#8221;&gt;&lt;!&#8211; header &#8211;&gt;&lt;/div&gt;</p></blockquote>
<p>than</p>
<blockquote><p>&lt;table border=&#8221;0&#8243; class=&#8221;table&#8221; cellpadding=&#8221;0&#8243; cellspacing=&#8221;0&#8243;&gt;<br />
&lt;tr&gt;<br />
&lt;th&gt;&lt;!&#8211; header &#8211;&gt;&lt;/th&gt;<br />
&lt;tr&gt;<br />
etc.</p></blockquote>
<p>But while that div is nice and neat and it allows for better accessibility, it does not do as well when it comes time for, let&#8217;s say:</p>
<p><a title="One good use for tables" href="http://espn.go.com/nfl/statistics/team/_/stat/downs/sort/thirdDownConvPct" target="_blank">this</a>.</p>
<p>Also, despite the wonderful blessing that is CSS (<a title="CSS Zen Garden" href="http://csszengarden.com/" target="_blank">it can be quite soothing</a>), when something goes wrong with the style sheet, the result can be disastrous.  Of course, we all want to write code that degrades gracefully, but the fact is that, the more we ask of our code &#8211; especially as we utilize style sheets &#8211; the more risk we run that if something breaks on the backend (certainly our code would never break), or a user is tied to a hopelessly outdated browser, the result will be unintelligible.</p>
<p>But back to semantics, for their own sake.  Perhaps it comes down to a particular aesthetic, but the notion of a fully semantic web makes me think of those kitschy items that have the word for the item printed on them, for example a mug that says &#8220;MUG&#8221;.  Maybe there is a bit too much big-picture here, for a change.  Net neutrality&#8217;s goal is access and publishing rights for anyone with an internet connection.   It&#8217;s not hard to imagine a semantic web that wants to take choices out of our hands and push certain content in front of our eyeballs for us.</p>
<p>As for us developers, if the goal is good, solid code, the answer seems to be, like with much else, a healthy mix of new and old, with an eye towards every tool and its best use.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.joshuasiegal.com/2009/semantic-html-literacy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
