Category Archive: CSS
Posts about CSS
Here are some nice CSS techniques for targeting old and new versions of Opera.
For the DigWP redesign, I noticed that some linked images were displayed with an unwanted border (or outline) in IE. After the usual CSS techniques failed to work, I experimented a bit and discovered a simple solution.
Here is a quick tip for getting clearer images when reducing their size at web resolution 72dpi.
WordPress makes it clean and easy to enqueue custom stylesheets via the functions.php file. Here’s how to do it for user-agent stylesheets.
CSS transitions can add a nice effect to links. Here are some quick example snippets for your copy/paste enjoyment.
Learn how to append the theme version, random number, or both as a query-string parameter to your CSS stylesheet URLs. This is useful for automatic versioning, cache-busting during development, or both.
Quick snippet for replacing default list-style types (bullets, discs, squares, etc.) with custom generated content in CSS.
Here’s an clean, simple way to add a tabbed sidebar menu using jQuery. You can see an example in the Introspection WP Theme.
Follow this simple two-step tutorial to enable users to translate your web pages into many different languages. Great way to increase exposure and traffic.
Honestly I can’t stand Internet Explorer. But people still use it, so here’s a few ways (via jQuery & CSS) to target different versions of IE.
There are several ways to shorten text, depending on the situation and goals. It’s preferable in most cases to shorten text server-side via PHP, but also possible to shorten via jQuery or even CSS.