HTML Hell

May 13, 2004

Let’s face it, cus­tomers can be finicky. Let me first explain that I’m work­ing on a project that was ini­tially built with Front­page and there­fore con­tains mal­formed code and other abtroc­i­ties I’d rather not dicuss.

The project was handed off to me like an Olympic torch. The client basi­cally instructed me to cre­ate a new sec­tion of the site, and to make sure it looked con­sis­tent with the rest of the site. Work­ing with the code I can tell you that I’d rather just redesign the entire site, but sadly this isn’t in the bud­get. Rather, the cus­tomer whose lead designer left the project, wants to keep the core design intact; noth­ing changed except for a few tex­tual updates and sec­tion additions.

Work­ing through the code and attempt­ing to deci­pher it, I can’t help but visu­al­ize myself some­where in the back­woods of Lou­siana, knee-deep in a murky swamp. As I slosh my way through the weeds and over­grown plant-life, I finally build a small shack on unsta­ble ground so to speak.

If the site was build with stan­dards and seman­tics in mind, it would have taken half the time to con­struct the new sec­tion. How­ever, because Front­page cre­ated the code it took me dou­ble the time and effort to make it work. Wad­ing through UPPERCASE tags, sloppy code and sytax just isn’t my idea of effi­ciency. Rather, at least to me, it’s HTML-Hell.

I can’t wait for the green­light to re-build their site with XHTML, CSS and web stan­dards. Until that point, how­ever, I’ll have to live with try­ing to work my way through uneven ground, and put up with finicky cus­tomers who demand any out­side links be removed. 

15 comments

Good write-up. I can’t tell you the amount of times I’ve had to work with old code and try­ing to update it with­out a redesign is like hang­ing your­self twice.

Most cus­tomers — at least the one’s I’ve worked with — are more con­tent with how it looks rather than how it works. They are more con­cerned with the out­side or pub­lic view, and haven’t any under­stand­ing of what clean code is ver­sus sloppy code.

by gary on May 13, 2004 at 5:22 pm. Reply #

I’ve been there count­less times. You’ll sur­vive — just keep that bot­tle of antiacid in hand.

Let’s just hope con­cern about web stan­dards reaches enough crit­i­cal mass (we’re slowly get­ting there) so we don’t need to put up with this crap anymore.

by beto on May 13, 2004 at 7:47 pm. Reply #

Beto,

The sec­tion addi­tion was approved. How­ever, in the descrip­tion it makes note of the sur­round­ing com­pa­nies in the indus­try. When I emailed the client to inform them the sec­tion was uploaded they took one look at the page and demanded the hyper­links be removed.

Appar­ently some cus­tomers believe — who knows why — that in order for them to have any sort of out­side hyper­link they would need that out­side source to link to them. This is so back­wards. There would be no World Wide Web (or Inter­net) if sites only linked to eachother under the con­di­tion of rec­i­p­ro­cal trade.

Oh yeah, and believe me, the antai­cid is taped under my desk.

by kartooner on May 13, 2004 at 8:02 pm. Reply #

Yeesh. Front­page is an absolute night­mare. I’m glad I don’t have to deal with it at my job. I will say, how­ever, that some­times it’s worth the has­sle to do some extra work up front (even if you don’t bill for it) and get things con­verted to a for­mat you can work with rather than pull your hair out in frus­tra­tion every time they decide “we don’t like Tre­buchet, can we use Arial? No wait, Ver­dana!” Most of the time, I don’t even tell my clients or my boss that I’m using web stan­dards, I just do. They don’t know the dif­fer­ence, and they wouldn’t care if I did explain it to them.

Case in point for extra work being worth it: at work, I absolutely loathe using Excel. To the point that I have writ­ten sev­eral pro­grams in C# solely for the pur­pose of NOT hav­ing to open Excel. It’s not in the job descrip­tion, and the ini­tial amount of time spent pro­gram­ming is much higher than if I had just used Excel, but it has paid off in spades now that I can just click a few but­tons and com­pletely avoid the usual con­fu­sion of using MS’s crap. The extra time and has­sle was worth the pay­off, espe­cially as I have found new and var­ied uses for the tools I have writ­ten. Some­thing to think about, anyway.

by Paul G on May 14, 2004 at 4:46 pm. Reply #

Paul:

I agree with you, but con­vert­ing a site from stale code to stan­dards can take time. When I’m at work, my time is devoted to a slew of projects, enough to the point that if a client needs a site over­haul or tweak­ing I need to pen­cil them in.

Don’t get me wrong, I’m okay at multi-taking, and I devote equal time and energy to clients. It’s just the bulk of my work is re-designing web sites or cre­at­ing sites from scratch. If the client is inter­ested in a new design I just cre­ate it with valid XHTML, CSS and web stan­dards with­out ask­ing. Most of the time , as Gary men­tioned, they are inter­ested in how in looks moreso than how it works.

I use this same phi­los­o­phy when I’m re-designing sites; XHTML, CSS and web stan­dards, no ques­tions asked. If the cus­tomer only wants tex­tual tweaks or sec­tion addi­tions, and if their code isn’t up to stan­dards, I just make the addi­tions and revi­sions with­out rewrit­ing the bulk of the code. It comes down to time and when you stand alone as the only devel­oper, time is lit­er­ally of the essence.

With this par­tic­u­lar client in mind I will even­tu­ally pitch the idea of a redesign. Why? For the ben­e­fit of updat­ing code, sec­tions, text and lay­out effe­ciently. To the client it will essen­tially look the same; but the added ben­e­fits of decreased band­width and forward/future com­pat­i­bil­ity will pay off in the long run.

by kartooner on May 14, 2004 at 7:39 pm. Reply #

Too bad there are those so called Web designers/developers that make a one page site once a year, call them­selves a designer or devel­oper, and don’t want to get with the times because they’re too lazy to learn. Kill them, kill them all!!!!

by Rafal on May 14, 2004 at 9:06 pm. Reply #

By the way, nice site. Will be vis­it­ing it often.

by Rafal on May 14, 2004 at 9:07 pm. Reply #

Well Erik, I see your site is being over­run by Pol­ish peo­ple com­ment­ing :)

Cze?? Rafa?… ale Ci zaz­droszcz? Edmon­ton… tu w Ontario pokazuj? mecz Oil­ers raz na trzy tygod­nie… No i macie du?ego mola (malla) :P

by Jarek Piórkowski on May 15, 2004 at 7:43 pm. Reply #

Those crazy Pol­ish! I’ve got to watch what I say, how­ever, since my great Aunt is Pol­ish and she would put the Pol­lack Smack­down on me.

by kartooner on May 15, 2004 at 8:00 pm. Reply #

nie poz­naj? wszelki J?zyk polski.

by kartooner on May 15, 2004 at 8:04 pm. Reply #

Yeah, the online trans­la­tors leave much to be desired. Espe­cially to less pop­u­lar lan­guages like Polish.

by Jarek Piórkowski on May 15, 2004 at 8:43 pm. Reply #

I’m actu­ally sur­prised I found an Eng­lish to Pol­ish translator.

by kartooner on May 17, 2004 at 6:31 am. Reply #

I am really glad I vis­ited this site. A real cool style which is an asset and inspi­ra­tion to the Word Press com­mu­nity. On the post: What wor­ries me is that most clients do not see that there is in fact any rela­tion­ship between how a site looks and how it works at all.

by Root on May 17, 2004 at 6:41 pm. Reply #

My edi­tor of choice — HTML-Kit (http://www.chami.com) has HTML-Tidy built in. It’s been an absolute god­send for me when I’m deal­ing with ropey markup. A quick right click and all that nasty goes away! It has code specif­i­cally for tidy­ing up micro$oft HTML (usu­ally pro­duced by Word) too.

Did I men­tion you can get HTML-Kit for free and its got more fea­tures than um, some­thing with lots of features?

by Richard@Home on June 2, 2004 at 11:22 am. Reply #

Very cool, Richard. Thanks for the heads up.

I’m down­load­ing HTML-Kit now.

by kartooner on June 3, 2004 at 11:24 am. Reply #

Leave your comment

Required.

Required. Not published.

If you have one.