Why it is Still Important for a Page to Work Without JavaScript

For some reason, people are starting to believe that we have hit a watershed in web development whereby we no longer need to worry about whether people have JavaScript or not. There is a growing assumption that ten years ago some people couldn’t run JavaScript, but now everybody can. This is not the case. Let’sContinue reading “Why it is Still Important for a Page to Work Without JavaScript”

Hitting Enter in a Text Input Causes a Button Click Event to Fire

So you have a textbox, followed by a button to kick off the search, but if you press the enter key when you are typing in the text box, some other button fires an event. What’s going on? The simple rule for this is that forms are designed to be used by keyboard users. PeopleContinue reading “Hitting Enter in a Text Input Causes a Button Click Event to Fire”

Run Multiple Websites On The Same IP Address And Port Even Over SSL

TL;DR – the TLS SNI extention allows you to pick the right certificate if you have multiple secure host names on the same IP address and port, this is supported by all major browsers and by IIS8, and HAProxy (amongst others). Some of the below information is now a little dated – you shouldn’t reallyContinue reading “Run Multiple Websites On The Same IP Address And Port Even Over SSL”

HTML5 Url Input Can be Quite Strict

Following on from my articles on HTML5 Forms, I have been busy trying things out in various browsers, old and new. I have noticed that the input of type “url” in HTML5 is being validated pretty strictly by some browsers. For example, the following is treated as valid input: http://www.stevefenton.co.uk/ But none of these are:Continue reading “HTML5 Url Input Can be Quite Strict”

Using NCover Exclusions with MSBuild

I have previously discussed adding NCover to MSBuild and also how to get trend reporting as part of the NCover MSBuild target. Let’s add to all of that by filtering the NCover results to exclude stuff that you don’t want in your coverage reports. Remember, with great power comes great responsibility. Don’t exclude code unlessContinue reading “Using NCover Exclusions with MSBuild”

CSS3 Transitions and Multiple Transitions

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,Continue reading “CSS3 Transitions and Multiple Transitions”