Common CSS Mistakes

Here are a few common CSS mistakes I come across all the time. Yes these solutions might work when first developing in Firefox but these can cause major headaches when doing IE testing, debugging or making edits to the code in the future.

Don’t over use negative margins

Yes there is a time and place for negative margins. But if your find yourself using these on a daily basis then there’s probably and easier and better way to fix what you’re doing. Most likely a padding or margin on a parent element that can be adjusted. Use the box model properly, it makes debugging and editing the css later on much easier.

Continue Reading →

Setting Up Virtual Servers in WAMP

One tool I find indespensible in my job is virtual servers with WAMP. Virtual Servers allow you to run multiple projects at the same time on your localhost allowing you to quickly and easily change projects. Setting up Virtual Servers is easy:

  1. Edit httpd.conf

    This file is found in C:\wamp\bin\apache\Apache2.2.11\conf. Uncomment this line will include the apache virtual hosts setup file.

    Include conf/extra/httpd-vhosts.conf

    Search for <Directory /> in the httpd.conf file. The “default” settings here are really restricted so for a local dev setup you can change them to:

    Continue Reading →

A Work In Progress

After many years of thinking about it and a couple failed attempts, I’ve finally gone and created a blog at my personal site. What you see right now is far from complete but it’s at least in a state where I can now start to publish content.

My goal for this blog is for it to become a mind dump for all my fellow devs at The Hangar Interactive and Critical Mass. For anyone else who stumbles upon the blog, the more the merrier. The more people I can get following web development best practices the better as it just makes my job easier. I’m also hoping that the blogging will help me become a better writer so I can quickly and clearly get the thoughts out of my head.

A few things to note about this blog:

Continue Reading →