CSS Reset

Taken from: http://meyerweb.com/eric/tools/css/reset/, this CSS reset has been the most effective one i’ve ever used. Typically I just include it as a separate stylesheet to my main styles just for ease of use, neatness and so I don’t end up with giant style sheets that can hinder development down the line.

This CSS is free to use, and doesn’t come with any licensing, however out of gratitude, I keep the commented info from the original author.

The css:

/* http://meyerweb.com/eric/tools/css/reset/
v2.0 | 20110126
License: none (public domain)

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
body {
line-height: 1;
ol, ul {
list-style: none;
blockquote, q {
quotes: none;
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
table {
border-collapse: collapse;
border-spacing: 0;

Many thanks to Eric A. and Kathryn S. Meyer.

Just some career thoughts…

Just a short entry of some thoughts…

During my placement I’ve definitely grown a passion for Windows based web development. I’ve been uncertain up until now as to which avenue of web development i’d like to follow, since there are numerous different languages that I could specialise in.

Up until recently, I had no idea how powerful ASP.NET really was, and the vast array of benefits that stem from using it. Whilst there are a lot of developers out there that prefer to use PHP/MySQL based languages, ASP.NET gives you the flexibility to adapt between software engineering and web development. I realised this whilst being tasked with the various projects I’ve been working on lately. C# can be used in a wide range of applications, and so I feel that being able to use this language will potentially give me more career opportunities later in life. Of course, there is that famous saying; “Don’t put all your eggs in one basket”. Whilst it’s true that it may be somewhat of a gamble, I feel that becoming a specialist in something will be more rewarding than dabbling with many (different) languages. Not only that, but I’ve grown rather fond of C#, and find myself enjoying using it! Bonus!

I’ve had clearance from my manager to blog about the code that I’ve been writing for the company. This is awesome as it provides me a unique opportunity to create a solid platform in which to demonstrate my skills. Thanks Salim! 🙂

For those that are interested, I shall soon be blogging about what I’ve been up to recently. However I’m currently in the middle of a few different things at the moment, and time is precious, so I’ll see how I get on!

Placement reflections – 2 Months in!

So i’m 2 months in to working for Inspire Tech UK LTD, an online Ecommerce business based in salford. One thought that came straight to mind when writing that was, GEE HOW TIME FLIES! I’m not going to lie, the first few weeks where quite difficult, but i’m writing that off as nerves and  trying to impress from the get-go. The past few weeks however have been brilliant, and looking back, I can safely say that I’ve learned far more than I had anticipated.

Despatch Manager Online – Why did you give me such a headache?

One of the projects that stands out the most was the Migration from using Royal Mail’s Despatch Express to the new and not so improved (wait, did i say that out loud?) Despatch Manager Online. After getting access to the company’s account to begin development, It seemed like it was going to be a simply integration process. I thought that all I needed to do was modify our existing code, to generate a slighly different flat file (.txt). Oh how wrong I turned out to be. Not that writing the code was difficult, but that DMO’s rules on exactly what information goes in each field is far too restrictive. I’ll write another blog post to further explain this in detail, however for now lets just say foreign characters and certain other well used characters, such as a forward slash, are disallowed. The system doesn’t attempt to remove or replace them (like DE did), it instead just throws an error message when trying to import. Since we trade online, we get a lot of orders from overseas countries where International Accent Marks and Diacritics are used for addresses. So what was my solution? A very hacked together mess that ‘works’. I’m still not overly happy with it and when I get some spare time, I’m going to revisit the problem and try develop a more suitable solution. However I was on the clock on this one, and ‘It works for now’.

Basic Image Editor – A terribly named, yet neat tool (if I do say so myself)

More recently, just a few days ago in fact, I looked at how my manager edits and resizes product Images for use on our website and eBay etc. At the moment there is a partially automated solution, in that there is a macro set up in Photoshop to resize the images. My manager complained that it used far too much in terms of system resources (i.e CPU and RAM), and took a while doing multiple images. Plus we needed a solution to upscale images to a slightly higher resolution without causing Pixelation. Today, I’ve finished writing a new tool to take care of all this. Basic Image Editor (Look at how awesome I am with names….) can take single or an entire folders worth of files and either resize them, or add additional white space around the original images. My main objective here was efficiency. I wanted the tool to take care of several files in next to no time at all. I wrote the solution over the past couple of days, and spent a few hours today optimising it and fixing memory leaks. The result actually surprised me quite a lot.

We have a folder, containing approximately 6,800 500×500 jpg images (Perfect for testing). I expected the tool to process maybe 5 images per second before trying it. The first run actually achieved 10 images/second. Not bad. But I wanted to push it further. After optimising certain parts of my written logic and going for a second run it achieved… wait for it… 100 images/second. This includes the entire process of reading, editing and writing the output file (quite a demanding I/O operation). Current resource usage on my development machine peaked at 40% CPU (expected) and just 60MB of RAM! Needless to say I am pretty damn proud of it and can’t wait to properly demonstrate it to my manager tomorrow!


There have been other things that I’ve been up to as well such as website tweaks, fixes and additions, however If I was going to share everything I’ve been up to, then this would be a rather lengthy post. Needless to say I am thoroughly enjoying my time at Inspire tech, my colleagues are great and I’ve become very passionate about the programming work I do. The sense of satisfaction I get from seeing something I’ve spent time and effort developing, finally working and being used in the production environment is wonderful. It’s definitely giving me the motivation to want to learn more and become an better developer. Choosing to do an Industrial Placement as part of my degree, has already proven to be one of best decisions I’ve ever made. 🙂