View
Posted over 8 years ago by Arne Hartherz. cssdiscussion.com

If you want your application to display properly on iPad, iPhone or Android there are two things to do:

Posted over 8 years ago by Thomas Eisenbarth. imperialviolet.org

In January this year (2010), Gmail switched to using HTTPS for everything by default. Previously it had been introduced as...

Posted over 8 years ago by Lexy. alistapart.com

I was recently confronted with the task of creating a two-column liquid layout with a header and footer in...

Posted over 8 years ago by Thomas Eisenbarth. railsforzombies.org

Learning Rails for the first time should be fun, and Rails for Zombies allows you to get your feet wet...

Posted over 8 years ago by Arne Hartherz.

Styling button tags across all major browsers is not easy. Many times you should be fine by using the native...

Posted over 8 years ago by Arne Hartherz.

Using this step definition you can check if any form field (text field, checkbox, etc) or button is disabled:

Posted over 8 years ago by Henning Koch.

Use the Launchy gem: Launchy.open('http://www.ruby-lang.org/')

Posted over 8 years ago by Lexy. prototypejs.org

jQuery's selector engine, live()-like event handlers, pixel-perfect layout measuring.

Posted over 8 years ago by Thomas Eisenbarth.

In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...

Posted over 8 years ago by Henning Koch. macksmind.net

This step tests whether a given select option comes preselected in the HTML. There is another step to test that...

Posted over 8 years ago by Arne Hartherz.

This collection of Sass mixins enables cross-browser styling (including IE with CSS3PIE) with less lines of code.

Posted over 8 years ago by Henning Koch.

This is non-trivial because you need to fake event objects and require different code for different browsers. Luckily, there...

Posted over 8 years ago by Arne Hartherz.

When using an odd value for line-height in CSS the result will vary across all major browsers.\

Posted over 8 years ago by Lexy. github.com

Fixes all Flash elements on a page so that they heed DOM stacking order

Posted over 8 years ago by Henning Koch.

This note describes a Cucumber step definition that lets you test whether or not a CSS selector is present on...

Posted over 8 years ago by Arne Hartherz. skorks.com

Ctrl + R Search commands you entered previously. Press Ctrl + R again to search further back, Ctrl + Shift + R searches forward...

Posted over 8 years ago by Lexy. blog.jcoglan.com

Terminus is a Capybara driver where most of the driver functions are implemented in client-side JavaScript. It lets you...

Posted over 8 years ago by Arne Hartherz.

This returns the name (including path) of your current layout: response.layout => "layouts/admin" # inside views that are using the 'admin' layout...

This website uses cookies to improve usability and analyze traffic.
Accept or learn more