27th June, 2008

How NOT to mark up a form

Code

I’ve spent the last couple of days knees deep in someone else’s HTML and CSS. It’s not been the most pleasant of experiences trying to turn it into something decent but this particular bit took the cake:

Terribly marked up HTML for a form including divs inside table cells and duplicate IDs

The table is bad enough – but DIVs nested inside each cell with duplicate IDs on all the related elements!!??!!

One comment

Hide View Add

  1. Keri Henare 9th September, 2008

    Please for the love of god stop, that markup is burning out my corneas.
    I hope that site belongs to a group of people who discriminate against the blind intentionally, like Vision Nazis or something. Otherwise they’re just being neglectful.

Leave a Reply

Comments RSS Feed for this article
Hide