Every time you open a directory containing images, Windows creates those pesky Thumbs.db files for a minor speed-up and...
This snippet makes links that refer to an anchor (like "...
...") scroll softly to it.\ In this example we only do...
If you would like to enrich your website with semantic markup like contact data, places or events you should have...
Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...
This card shows you how to center a float horizontally in CSS. Also: find out what techniques are available for...
Internet Explorer 5+ is aware of conditional comments that let you target HTML for selected versions of IE. For example...
Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...
If you want to play music or sounds from a browser, your choice is to use either Flash or the...
Partials always define a local variable with the same name as themselves. E.g. when you are in _recent_users.html.erb, a local...
If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc
It is common in Rails 3.0 applications that you want to provide default views for a group of controllers. Let...
I prefer using Opera's "User mode" to toggle an outlining of HTML elements quickly. This helps greatly when you...
The information in this card is only relevant for Rails 2.3-era apps. This note gives a quick introduction into...
Liquid Canvas is a JavaScript library which allows you to draw inside an HTML canvas element with an easy yet...
Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2
"Wallaby" is the codename for an experimental technology that converts the artwork and animation contained in Adobe® Flash® Professional (FLA...
If you have content inside a page that is hidden by CSS, the following will work with Selenium, but not...
If you use a form (or form fields) multiple times inside one view, Rails will generate the same id attributes...
Flash movies (.swf files) can talk with Javascript code embedded in the same HTML page. There are two ways to...
Sometimes you want to run a command forever, e.g. to compile a haml to html file on the console. Use...
Javascript that implements client-side hyphenation of HTML-Documents.
You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.
If you want your application to display properly on iPad, iPhone or Android there are two things to do:
When you need to see the content of a page (i.e. not all the HTML but the relevant text body...