Monthly Archives: January 2008

Minimal Form Markup

You see a lot of form markup that uses extra DIVs to line things up. But mostly, I don’t find this necessary. Here’s how I usually do it: <style> .stdForm { width:300px; } .stdForm label { float:left; width:100px; } .stdForm input, .stdForm textarea { margin-bottom:5px; width:180px; } .stdForm textarea { height:50px; } .stdForm #send {… Read more »

Posted

Installing PHP on Windows

This is for reference – the official docs are a bit messy and there’s been loads of times where it’s taken me hours to track down something silly. Doing it this way allows PHP to be easily upgraded because there’s nothing hanging around in the system directories. Always install it manually – the CGI installer… Read more »

Posted