<?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>Webmonkey &#187; tables</title>
    <atom:link href="http://www.webmonkey.com/tag/tables/feed/" rel="self" type="application/rss+xml" />
    <link>http://www.webmonkey.com</link>
    <description>The Web Developer&#039;s Resource</description>
    <lastBuildDate>Fri, 05 Apr 2013 20:20:46 +0000</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <generator>http://wordpress.org/?v=3.4.2</generator>
    
    <item>
        <title>Setting The Tables With CSS</title>
        <link>http://www.webmonkey.com/2008/08/setting_the_tables_with_css/</link>
        <comments>http://www.webmonkey.com/2008/08/setting_the_tables_with_css/#comments</comments>
        <pubDate>Fri, 15 Aug 2008 21:36:20 +0000</pubDate>

                <dc:creator>Adam Duvander</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/blog/settingthetableswithcss</guid>
        		<category><![CDATA[Visual Design]]></category>
		<category><![CDATA[Web Basics]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[tables]]></category>
        <description><![CDATA[Every time I create an HTML table, I struggle with its styling. It&#8217;s not easy to make a table look good. &#8220;OMG! Webmonkey told me to design with tables!&#8221; No, I&#8217;m not talking about using tables for layout. Use tables how they were meant to be used: for data. When I wrote about Firefox browser [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><img class="blogimg" src="http://howto.wired.com/mediawiki/images/Styled-table.png" alt="Styled table" />Every time I create an HTML table, I struggle with its styling. It&#8217;s not easy to make a table look good.</p>
<p><em>&#8220;OMG! Webmonkey told me to design with tables!&#8221;</em></p>
<p>No, I&#8217;m not talking about using tables for layout. Use tables how they were meant to be used: for data.</p>
<p>When I wrote about <a href="http://www.webmonkey.com/blog/Firefox_Could_Pass_IE_by_Next_Summer">Firefox browser stats</a> yesterday, I struggled to make the data look nice. Too bad I hadn&#8217;t found this <a href="http://www.smashingmagazine.com/2008/08/13/top-10-css-table-designs/">gallery of table designs</a>.</p>
<p>Even the minimalist styles that start off the ten designs are nice compared to an un-styled table. The list is worth reading alone for the bit on the little-used <a href="http://www.htmldog.com/guides/htmladvanced/tables/">colgroup tag</a>.</p>
<p>At the turn of the century Web designers were quick to adopt CSS for layout. Table-based designs, which had been the standard means of layout, were poo-pooed. This was a positive step for web design, but in this religious battle, the table tag became collateral damage.</p>
<p>A whole generation of designers avoid tables completely, but they can be useful for showing data. And now, hopefully they can be pretty, too.</p>
<p><strong>See also:</strong></p>
<ul>
<li><a href="http://www.webmonkey.com/blog/Resources_for_Designing_with_CSS">Resources for Designing with CSS</a></li>
<li><a href="/2010/02/Update_Your_Old_Site_to_Use_Web_Standards">Tutorial: Update Your Old Site to Use Web Standards</a></li>
<li><a href="/2010/02/Mulders_Stylesheets_Tutorial">Mulders Stylesheets Tutorial</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2008/08/setting_the_tables_with_css/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    
    <item>
        <title>Drag And Drop Your Tables Like Netflix</title>
        <link>http://www.webmonkey.com/2008/07/drag_and_drop_your_tables/</link>
        <comments>http://www.webmonkey.com/2008/07/drag_and_drop_your_tables/#comments</comments>
        <pubDate>Tue, 15 Jul 2008 00:46:37 +0000</pubDate>

                <dc:creator>Adam Duvander</dc:creator>

        <guid isPermaLink="false">http://www.webmonkey.com/blog/draganddropyourtableslikenetflix</guid>
        		<category><![CDATA[Software & Tools]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[tables]]></category>
        <description><![CDATA[Re-ordering my Netflix queue to move one embarrassing movie below another is easy. The code that let the developers at the movie rental company implement that feature is difficult. At least, it used to be. Drag-and-drop is a fancy feature touted by many JavaScript frameworks. With extremely little code, page elements can be made draggable. [...]]]></description>

            <content:encoded><![CDATA[<p><!-- wpautop enabled --><img class="blogimg" src="http://howto.wired.com/mediawiki/images/Dragdropnetflix.png" alt="Dragging around embarrassing movies in my Netflix queue" /></p>
<p>Re-ordering my Netflix queue to move one embarrassing movie below another is easy. The code that let the developers at the movie rental company implement that feature is difficult. At least, it used to be.</p>
<p>Drag-and-drop is a fancy feature touted by many JavaScript frameworks. With extremely little code, page elements can be made draggable. Unfortunately, tables require a little more work.</p>
<p><img class="blogimg" src="http://howto.wired.com/mediawiki/images/Dragdroprows.png" alt="Drag and drop row one moved to slot three" />Luckily, someone else has done the work for us, which they describe in <a href="http://www.isocra.com/2007/07/dragging-and-dropping-table-rows-in-javascript/">dragging and dropping rows in JavaScript</a>. There&#8217;s a lot of code in there, but you can find the nitty gritty by scrolling down to the &#8220;putting it all together&#8221; section.</p>
<p>To make a table&#8217;s rows draggable, just create an instance of their TableDnD class, and pass it a reference to your table. Then, if you want to have your code respond to a dragged row, you&#8217;ll need to implement your own onDrop function.</p>
<p>If you&#8217;re using the popular JQuery framework, there&#8217;s a <a href="http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/">table drag-and-drop plugin</a> that&#8217;s even easier to use.</p>
<p><strong>See also:</strong></p>
<ul>
<li><a href="http://www.webmonkey.com/blog/Is_JavaScript_Part_of_the__Real__Web_or_Not_">Is JavaScript Part of the &#8216;Real&#8217; Web or Not?</a></li>
<li><a href="http://www.webmonkey.com/blog/New_JavaScript_Library_Creates_Amazing_Animations">New JavaScript Library Creates Amazing Animations</a></li>
<li><a href="http://www.webmonkey.com/blog/jQuery_Javascript_Library_Turns_One">jQuery Javascript Library Turns One</a></li>
</ul>
<div id='linker_widget' class='contextly-widget'></div>]]></content:encoded>
            <wfw:commentRss>http://www.webmonkey.com/2008/07/drag_and_drop_your_tables/feed/</wfw:commentRss>
        <slash:comments>0</slash:comments>

        
    </item>
    </channel>
</rss>