It’s alright Robert…
…you’re not the only one getting to the end of your tether.
We had a major website release to put together the other day. We’d fixed every possible bug we could find in the C#, HTML and JS code, bar one: A CSS bug in Internet Explorer was breaking something vital.
I don’t get visibly angry very often, but on this occasion I was absolutely steaming. People were waiting on me to find this fix so we could do the release and go home, but I just could not figure it out. I tried margins, padding, heights, widths, overflow, even obscure positioning techniques. Everything I could think of – all to no avail. I was getting more and more frustrated as time went by but that wasn’t helping either. The handy developer toolbar wasn’t helping – it pointed out that element had the right amount of margin, padding and their wierd hasLayout property.
Ahhhhh, all of them except that seemingly completely unrelated one. I hadn’t fed a specific height to one element and the whole thing came crashing down.
Once I figured it out, that anger faded away to relief and we got the release out of the door. But it made me think: a CSS designer/developer’s profession requires that they pander to a product that despite being vastly technically inferior, is the most popular on the market.
Despite all of this though, I could never contemplate going back to the old way: Using <table>
and spacer.gifs to lay out and style a page. I’d need to retrain all over again for a start – I really can’t remember most of the old tricks we used to use back in the day. There’s one particular (internal) website at work that’s horrendous in that regard – it uses every trick in the book so the slightest change takes hours. What’s more, it limits you in so many ways: Would Sir like to position this box over there? Or perhaps Sir would like a slightly different layout when he comes to print, or when serving to a handheld browser? Sorry Sir, no can do.
Yes, the pain of pandering to Internet Explorer is definitely offset by the advantages that the standards-based methodology offers.
I’ve not done any proper web work fork ages :(
Lucky bugger ;)
not really :/
Admit it, you miss frontpage websites. Now they are something special, especially when a certain someone wants images the size of a page :-|
I completely understand. I hate it when that happens, although I try and avoid JS as much as possible. I suck at client-side code.
I’m glad to hear that things are going well Olly. I was recently finishing off a site that I started over a year ago (don’t ask) and I almost resorted to tables for a form layout becasue I couldn’t be arsed to rewerite the lot. You’ll be pleased to know that I held firm and used the old DIV and SPAN layout and felt much better for it. My CSS Karma is in balance now.
I really must finish writing that post about making CSS form layouts :)