Posted about 10 years ago by Henning Koch.

If you embedded web fonts in the past years (e.g. by copying CSS from a Font Squirrel @font-face kit...

Posted about 10 years ago by Henning Koch.

If you want to distribute a 's width equally over its columns, you can use the following CSS property:

Posted about 10 years ago by Henning Koch.

Capybara will match elements outside of a page's tag. For example, the step definitions below match nodes in a...

Posted about 10 years ago by Arne Hartherz. dev.opera.com

Since version 11.10 Opera provides support for linear gradients using -o-linear-gradient. The syntax is pretty similar to Mozilla...

Posted about 10 years ago by Henning Koch.

You can use the step definition below to say this: Then the "Last name" field should have an error

Posted about 10 years ago by Lexy. css-tricks.com

Good guide to different ways you can write CSS selectors that select elements by their attribute values.

Posted over 10 years ago by Arne Hartherz.

Consider this HTML: Even though the surrounding container defines a line-height, which vertically centers its inline elements, the check...

Posted over 10 years ago by Henning Koch.

Possible fixes: Upgrade your Firefox. It's fixed in 5.0. Hunt down funny float or overflow directives in your CSS...

Posted over 10 years ago by Tobias Kraze.

Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:

Posted over 10 years ago by Henning Koch. stackoverflow.com

When you double-tap a string of text on an iPhone or iPad a complicated context menu for copying and...

Posted over 10 years ago by Henning Koch.

You can say: $(element).is(':visible') and $(element).is(':hidden') jQuery considers an element to be visible if it...

Posted over 10 years ago by Henning Koch.

The step definition below allows you to write: Then I should see a link labeled "Foo" But I should not...

Posted over 10 years ago by Lexy. devblog.imedo.de

XPath matchers can be combined with CSS-selector matchers. This is really useful if not, for example, the content of...

Posted over 10 years ago by Tobias Kraze.

Update: Staticmatic will not be further developed. They suggest to switch to middleman. If you need to make a static...

Posted over 10 years ago by Henning Koch.

If you want to play music or sounds from a browser, your choice is to use either Flash or the...

Posted over 10 years ago by Lexy. cssnewbie.com

The trick is this: send a low-resolution version of your image to the screen, and a high-resolution version...

Posted over 10 years ago by Henning Koch.

You can use CSS attribute selectors in your step definitions like this: Then /^the page should have a meta description...

Posted over 10 years ago by Tobias Kraze.

At times, it might be unavoidable to have different CSS rules for Internet Explorer than for sane browsers. Using Sass...

This website uses short-lived cookies to improve usability.
Accept or learn more