CSS is so big that unless we work with it diligently on a day-to-day basis — and live long enough, we’re likely to be dealing with just the tip of the iceberg. In this article, I show a simple technique for creating tooltips with nothing more than CSS (no JavaScript). Hat-tip to Travis Neilson, whose DevTips YouTube channel is very informative and a real hoot.
Snippets
Code snippets I want to have handy. You might, too.
Update MySQL table using subquery, Excel data
If you’re a developer like me who builds custom database-driven Web sites and Web applications, you don’t necessarily create a user-maintainable content management system (CMS) for absolutely everything you build. In this article, I’m going to show you a simple and practical low-tech solution for adding content from your clients for database-driven content for which you did not build a CMS. The only tools you need for this solution are Microsoft Excel and SQL (in my case, the MySQL flavor).
Custom extensible PHP shortcode function for non-WordPress Web sites
In this article, I’ll share a custom PHP shortcode function I use for my non-WordPress Web sites to improve their maintainability. This function mimics the WordPress shortcode feature.
Fun with CSS3 Multiple Backgrounds
CSS3 supports multiple backgrounds for an element. There are lots of resources on the Web that tell you how to do it. It’s actually remarkably easy and intuitive. And most modern browsers support multiple CSS backgrounds.
What I want to do here is show you why and when you might want to try this.
How to embed a YouTube Video in WordPress
Here are the basic tried-and-true steps for embedding a YouTube video into a WordPress Blog post or page, as of this writing. It also applies to embedding videos from several other video servers. Method #1: The Original Way: Embed Code Prior to version 2.9 of WordPress, this was how you had to do it. This […]
Get From Foreigner (utility function)
In your PHP/MySQL applications, have you ever had to get values from a table based on the value of a foreign key in another table? Of course you have! Let me put it this way: Let’s suppose… Suppose you have a database of students and their families. Further suppose each student in the “students” table […]
NextGen Gallery Compact Album Mods
This article describes how to customize aspects of the NextGen Gallery plugin by modifying an NGG template and making corresponding CSS modifications. You gotta love the NextGen Gallery plugin for WordPress. It is to image galleries in WordPress what Irfanview is to desktop image management. But not everything about NGG is wonderful.