CSS Reset Sheets

CSS reset styling is necessary due to the inconsistencies between browser “User Agent Style Sheets”. Why they can’t all shake hands and agree to one standard, (shrugs). But even if the vendors mature from their past rivaling tactics legacy support will make it difficult to phase out the differences.

The best reset sheet?

Obviously there is no best, it depends on the scenario and the philosophy of the developer or framework/ reset sheet creator. In my humble opinion I believe a reset sheet should not intrude in terms of styling, sizing or colours and that it should not assume a particular layout or structure. But that belief can be ignored with text styling as it’s a bastard sometimes. But that’s just me.

As we have many popular CSS frameworks and preprocessors today you are likely already using a decent reset sheet. But if you are curious here’s a few popular ones to interrogate.

And here’s an excellent unpopular one, (not because I made it or anything ;-))


Why care

You may never need to touch reset styling for many project though it doesn’t hurt to understanding how they affect the behavior of tags. It could save a few minutes or even hours of debugging, over riding, using the diabolical “!important” rule and most importantly avoiding JavaScript as a band-aid for frustrating CSS.

Installing Docker on Linux Mint 17


An open platform for distributed applications for developers and sysadmins. If you’re new to it check it out here.

You’re probably here because you came across some road blocks:

  • Cannot connect to the Docker daemon. Is ‘docker -d’ running on this host?
  • Post http:///var/run/docker.sock/v1.12/containers/create: dial unix /var/run/docker.sock: no such file or directory

Despite this post I have to say the documentation on the Docker website is great, so assuming you have read the installation guide I’ll follow up with some things I did to get my installation working on “Linux Mint 17″. This is not a comprehensive guide, it’s just a tiny aid to levitate you to the “Hello World” stage.

Mint is not that ‘Minted’

Docker requires cgroup-lite (kernel mechanism for tracking and imposing limits on resource usage) and apparmor (“Application Armor” a Linux kernel security module). Someone in a forum mentioned installing LXC, which is a user-space interface for the Linux kernel containment features but Docker now uses libcontainer as its default execution environment.

$ sudo apt-get update && sudo apt-get install cgroup-lite apparmor

Stop the service if it’s running, restart wasn’t feasible in this circumstance for me.

$ sudo service docker.io stop

Now start docker.io

$ sudo service docker.io start

Say hello to the bad guy!

sudo docker run ubuntu:14.04 /bin/echo 'Hello world'