IE CSS Tip #1: Position Relative Overflow

June 27th, 2010 | No Comments »

In the portfolio section of this site I decided I wanted to be able to align the thumbnails either to the top, middle or bottom of their frame. That way I could very simply create better looking thumbnails just by a little css positioning. Unfortunately, unlike every other modern browser, IE requires a little extra love to make it work. The solution, however, is simple. Set the position of the container div to relative i.e. “position:relative;” Thanks goes to Jonathan Snook for providing this tip on his website. Please see his site for the original tip.

Coda: Web Development for the Mac

June 10th, 2010 | No Comments »

I’ve been developing web sites since 1997. I started with a Pentium 150 with 32MB RAM running Windows 95. Notepad was the editor of choice and WS-FTP was what we used to upload files to the production server. It was a beastly setup, but exciting times. I moved on through several home-brewed Windows systems and a few product cycles of Allaire’s Homesite and then Macromedia’s Dreamweaver before switching to a Mac in 2006. Since Adobe had bought Macromedia and I used Adobe’s Creative Suite for the rest of my work I ended up using Dreamweaver for a while, reasoning that I owned it and it was “supposed” to be good. It sufficed as a code editor but I found the additional “features” packed into it and the poor interface a real distraction and hindrance to my workflow. I decided to look around for alternatives and found that the developers of the FTP client Transmit, which I use, had developed a web site coding environment called Coda.


Read more →

Apache Mod_Security: Whitelisting WordPress

March 26th, 2009 | No Comments »

Preface

This post is inspired by the true events of March 26, 2009 as a fellow web developer and I spent the better part of the day working out why the web server his installation of WordPress lives on was returning a 500 Internal Server Error whenever he tried to create a new Page by cutting and pasting HTML. It turns out a poorly formed rule in the default cPanel Mod_Security installation was throwing false positives as it matched the content of what he was posting to a rule denying a specific kind of SQL Injection Attack. But as is often the case in the behind-the-scenes world of web development one solution only leads to a new problem. This account is posted to document the problem(s) and solution(s) we worked out that day.
Read more →