Programming

Z Index and the Stacking Context

Posted on

If you are using CSS z-index to stack elements on a web page, you will probably have come across what looks like very strange behaviour. You have an element with a z-index of 2, but it is on top of an element that has a much higher z-index, for example 100. Normally, you would expect […]

Programming

How To Include Images In Your CSS

Posted on

When I created Cruiser, a CruiseControl.NET Wall-board I wanted to make it as easy as possible for people to use. I didn’t want to force people to download a zip archive and extract files into specific locations. I wanted people to be able to drop a single file onto their build server and get instant […]

Programming

A Great General CSS3 Transition Rule

Posted on

As a follow up to my article on CSS3 Multiple Transitions, I thought I would supply a really simple code sample that you can use to unleash the funk of CSS3 on your website. Remember, it doesn’t matter what browser support is for CSS 3 transitions, because it just means that things won’t animate if […]

Programming

CSS3 Transitions and Multiple Transitions

Posted on

CSS3 transitions have been with us for a little while now thanks to some browser-vendors adding custom transition support. The reason I’m shouting about it now is because it is actually pretty widely supported and it is now getting a point of maturity that means you can actually use it with reasonable confidence. Of course, […]

Programming

Google Deliberately Write Awful HTML

Posted on

Have you had a look at the Google Search Page recently? Probably! What you might not have noticed is that (at the time of writing) Google have stuffed their home page full of what most web developers would call “awful HTML”. Here are some examples, although you can “view source” on Google to see the […]

Programming

Show Links When Printing a Web Page

Posted on

Despite all of the technological advances of the past 100 years, people still print web pages for many reasons. They might need to take some information into a meeting, find it easier to work off of printed instructions or even just want to frame an excellent blog article that has inspired them and put it […]

Programming

CSS3 Gradients and Corners

Posted on

CSS3 is going to bring some awesome new stuff that will combine excellently with HTML5 to give us an absolutely smashing Internet experience. Thing is, it isn’t here quite yet. Despite this, I just can’t wait for all the new features that HTML5 and CSS3 are going to bring. That’s why I converted this website […]

Programming

Using CSS Selectors

Posted on

It has been said about CSS that you can learn it in a day, but it takes years to master. Actually, it isn’t that hard to master if you have the right information to hand. Today I’m just going to dump a load of information on CSS selectors, which is the most common CSS question […]