<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://devlicio.us/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Perpetual n00b - All Comments</title><link>http://devlicio.us/blogs/bob_yexley/default.aspx</link><description>There&amp;#39;s always something more to learn</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#42312</link><pubDate>Fri, 12 Sep 2008 19:47:54 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:42312</guid><dc:creator>Paul</dc:creator><description>I checked out DonDraper&amp;#39;s suggestions and they are as I expected. The &amp;quot;Advanced&amp;quot; sample I saw of formassembly even used tables for some layout. wufoo had some good solid markup and CSS, but man I&amp;#39;ve gotta tell you it&amp;#39;s a LOT of CSS to pull off.
I really really want to do things the &amp;quot;right&amp;quot; way, but I feel like I&amp;#39;ve got to spend too much time hacking things up to do pure CSS for complex forms. I wish they were all simple one label, one input rows but that&amp;#39;s just not reality in complex business applications.
Perhaps the thing that rubs me the wrong way the most about it is having to explicitly define widths to mimick what tables do naturally.  I&amp;#39;ve worked on sites that have complex forms on many many pages and that leads to a LOT of definitions to shore each one up individually. And each time a form gets a new field I&amp;#39;ve gotta go tweak on it again. And managing font-size increases is a good time, too.
With limited resources in a constant-change environment I think tables for forms are much easier - class it and go. Then the software engineers can add or remove things without my intervention.
For the record, I use CSS for layout of everything else except tabular data and forms.
I&amp;#39;m actually a little tired of the &amp;quot;experts&amp;quot; in the ivory tower telling me to do the subjective &amp;quot;right&amp;quot; thing and then spout off a very simple one label, one value &amp;quot;example&amp;quot; of how easy it is.
Time is money and dealing with the many browser quirks resulting from complex CSS form layout isn&amp;#39;t responsible from my perspective.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=42312" width="1" height="1"&gt;</description></item><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#40122</link><pubDate>Fri, 18 Apr 2008 13:44:53 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:40122</guid><dc:creator>newttyy</dc:creator><description>&lt;p&gt;Like someone else said it before me ... excelent post.&lt;/p&gt;
&lt;p&gt;I still use tables for the main structure of the web site and for the forms as well.&lt;/p&gt;
&lt;p&gt;Anything else is build and position by css and images.&lt;/p&gt;
&lt;p&gt;Here something that a lot of you might go nuts over it: I am still using div tags inside the tables and position them inside the cell using css.&lt;/p&gt;
&lt;p&gt;Why so many people think this is wrong? I have still NOT found a browser that will not display the page corectly and fast.&lt;/p&gt;
&lt;p&gt;I personally think that people are going way too much &amp;quot;banana&amp;quot; for the whole div tags/css thing.&lt;/p&gt;
&lt;p&gt;Each of them have their own places and you can use them toghether as well (as long you know how to).&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=40122" width="1" height="1"&gt;</description></item><item><title>WheelMUD Administration tools</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/09/27/Custom-service-controller-for-debugging-windows-services.aspx#40056</link><pubDate>Sun, 13 Apr 2008 21:50:48 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:40056</guid><dc:creator>WheelMUD - A C# MUD Server</dc:creator><description>&lt;img src="http://devlicio.us/aggbug.aspx?PostID=40056" width="1" height="1"&gt;</description></item><item><title>WheelMUD Administration tools</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/09/27/Custom-service-controller-for-debugging-windows-services.aspx#40055</link><pubDate>Sun, 13 Apr 2008 21:50:47 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:40055</guid><dc:creator>WheelMUD - A C# MUD Server</dc:creator><description>&lt;img src="http://devlicio.us/aggbug.aspx?PostID=40055" width="1" height="1"&gt;</description></item><item><title>re: Salary negotiation in the interview process</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/11/02/Salary-negotiation-in-the-interview-process.aspx#458</link><pubDate>Fri, 03 Nov 2006 00:19:58 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:458</guid><dc:creator>Joe Niland</dc:creator><description>&lt;p&gt;I've only been asked that question by recruitment agents, not directly by employers. But if I was I'd either say 'I'll let my agent deal with the salary matters' or if no agent was involved I'd say 'I don't think that's relevant, but I believe I am worth $X'. But this scenario leaves a bad taste really - the employer should make an offer based on what they think the position is worth to the company and then negotiations can go from there.&lt;/p&gt;
&lt;p&gt;Not sure about USA but in AU and UK I am pretty sure it's a breach of the privacy act for a current employer to give that info to a new one. Either way would you really want to work for an employer who's trying to get the cheapest employee rather than the best?&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=458" width="1" height="1"&gt;</description></item><item><title>re: Salary negotiation in the interview process</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/11/02/Salary-negotiation-in-the-interview-process.aspx#456</link><pubDate>Thu, 02 Nov 2006 19:12:49 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:456</guid><dc:creator>Jimmy</dc:creator><description>&lt;p&gt;From the other side, don't know how it is on yours, but there is a record in my contract, which says that salary is confidential and should not be disclosed without an important reason. Is looking for a new job an important reason? I think yes, but this can be also an excuse for question you mention.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=456" width="1" height="1"&gt;</description></item><item><title>re: Salary negotiation in the interview process</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/11/02/Salary-negotiation-in-the-interview-process.aspx#455</link><pubDate>Thu, 02 Nov 2006 16:30:17 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:455</guid><dc:creator>Dru Sellers</dc:creator><description>"I am not at liberty to disclose that information." 8-D&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=455" width="1" height="1"&gt;</description></item><item><title>re: Salary negotiation in the interview process</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/11/02/Salary-negotiation-in-the-interview-process.aspx#451</link><pubDate>Thu, 02 Nov 2006 15:02:24 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:451</guid><dc:creator>saku</dc:creator><description>I would say: enough.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=451" width="1" height="1"&gt;</description></item><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#316</link><pubDate>Fri, 13 Oct 2006 03:52:52 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:316</guid><dc:creator>Christopher Bennage</dc:creator><description>&lt;p&gt;The question for me is: What is the easiest to maintain? &amp;nbsp;I love CSS for layout because, as Dave Thieben said, I went insane with nested tables... &amp;nbsp;However, when it comes to forms, I often use tables because I find it easy to maintain. &amp;nbsp;(It's rare to nest tables for a form).&lt;/p&gt;
&lt;p&gt;I do plan to followup on the urls DonDraper mentioned. &amp;nbsp;I'm always looking for a better way...&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=316" width="1" height="1"&gt;</description></item><item><title>re: Mmmmm...statically typed goodness (updated)</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/09/22/Mmmmm_2E00__2E00_.strongly-typed-goodness.aspx#315</link><pubDate>Thu, 12 Oct 2006 22:03:45 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:315</guid><dc:creator>Sam</dc:creator><description>I think much of your concern can be traced back to the development environment though. It's a shame to hate on JavaScript when there's really nothing making a JS String object any hard to debug than a .NET System.String.

It's the environment. Firefox is a must for JS development. IE just doesn't come close (as far as I've found). It's also good to understand the basics of the language though. JS isn't your average dynamically typed language like Ruby or Python. In fact, I'm tempted to say that it's a weakly _classed_ language (for lack of a better term).

JS is a Prototype based language. So where in Ruby you're likely to be dealing with an actual URI object when dealing with a URI, in JS you're dealing with a Decorated Object at best, and probably more generally a plain old String.

Don't get me wrong, a Type is what it is, and that doesn't change, but fundamentally that Type is almost always Object in JS.

The point is, don't like seeing "[[Object object]]" in IE? Decorate it with your own toString() method. Want Form elements to have a serialize() method? Give it to 'em. Due to browser differences static decoration is sometimes ineffective however (IE doesn't Type DOM Elements, so it doesn't work there).

Is JS a great language? I dunno about that. It's a very flexible language though that you can do some really complex things with very easily that would have you writing lots of nastyness in c#. But the potential is often frustrated by browser limitations unfortunately. Plus most implementations are tremendously slow.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=315" width="1" height="1"&gt;</description></item><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#308</link><pubDate>Thu, 12 Oct 2006 04:04:38 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:308</guid><dc:creator>DonDraper</dc:creator><description>Yeah, I'd have to say you're still in a bit of the dark ages and missing something :). Doing the forms without tables saves a lot of grief later when you have to twiddle everything around. If your form's public facing, the importance of accessibility grows with traffic (smaller file sizes don't hurt, either). Besides, with places like formassembly.com and wufoo.com around, it's braindead easy to do it the right way. I counted my last row/colspan a couple of years ago.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=308" width="1" height="1"&gt;</description></item><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#307</link><pubDate>Wed, 11 Oct 2006 20:08:44 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:307</guid><dc:creator>dave thieben</dc:creator><description>Bob, I'm with ya.  Like with any coding, you need to use your noggin when deciding which to use.  However, having sliced up countless Photoshop files into dynamic websites, i love the CSS method for pure simplicity.  I don't know how many times I almost went insane with colSpans and rowSpans and tables nested 46 deep.

I also like the ability of CSS to change the style definition and completely change the layout of a site without changing one line of code.  &lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=307" width="1" height="1"&gt;</description></item><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#306</link><pubDate>Wed, 11 Oct 2006 17:51:35 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:306</guid><dc:creator>Bob Yexley</dc:creator><description>&lt;p&gt;Yes, I completely agree Stephen. I use a hybrid too. I use a table to basically layout the fields and labels of my form, but usually that table ends up residing inside a div on the page, and often times also, as you mentioned, ends up having spans and divs within it as well.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=306" width="1" height="1"&gt;</description></item><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#305</link><pubDate>Wed, 11 Oct 2006 17:10:10 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:305</guid><dc:creator>Steve</dc:creator><description>I like to use tables over CSS almost always.  Mostly because I also like to write automation against web pages that scrape them, and it's easier for me to get the data out from a table than from Div tags.&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=305" width="1" height="1"&gt;</description></item><item><title>re: Tables vs. CSS for layout of web forms</title><link>http://devlicio.us/blogs/bob_yexley/archive/2006/10/11/Tables-vs.-CSS-for-layout-of-web-forms.aspx#304</link><pubDate>Wed, 11 Oct 2006 17:02:04 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:304</guid><dc:creator>Stephen Wright</dc:creator><description>&lt;p&gt;Excellent post.&lt;/p&gt;
&lt;p&gt;When I'm designing the page, I end up using tables for the form. &amp;nbsp;If there's anything that I would add to this would be this:&lt;/p&gt;
&lt;p&gt;I use the table to form the base of my form layout. &amp;nbsp;If there are additional properties that need to be added, I use a div inside of the td to accomplish what I need. &amp;nbsp;So it's more of a hybrid table/css layout. &lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=304" width="1" height="1"&gt;</description></item></channel></rss>
