An XHTML and CSS-based Form Template

tom Tom, 23rd August 2007

I've always found it a little tricky to write truly valid forms, yet still keeping the layout looking anything half decent. I guess you can hack it around a bit and float div's left and right, but it somehow always seemed a rather long-winded way to go about things. So I've always just used a table based layout for my forms... I started using the label tag a little while ago, which I believe adds to the accessibility of forms, but apart from that the way I code hasn't changed much over the years... Until now... I've found a great CSS based layout template for forms which claims to be both semantically correct and accessible, it also (I believe) validates to W3 standards, so here's the page that shows you how to make accessible web forms.

Want to share? Tweet it!

More from our blog

We are hiring: full stack developer

We are hiring: full stack developer

7.06.21

We're looking for an experienced PHP developer to join our highly effective team. We're problem solvers, with clients depending on us - some of them… Read →

OPC Markets Launch

OPC Markets Launch

6.04.21

We've been  busy helping our client OilPrice.com with the launch of their new trading platform. Made in conjunction with FTSE 250 company owned Markets.com, OPCMarkets… Read →

Video heros: the order of the day

Video heros: the order of the day

23.03.21

We recently had 3 clients - within the space of a few days - ask us for video heros on their home page. We do… Read →