Web Development tips and tricks: PHP, CSS, JavaScript, HTML, Drupal

Making one of the block sticky within its parent (or body) is not a painful thing anymore.
Just use CSS position: sticky and you'll be happy!

Check this out:


A short note how to replace your checkbox with an image.


Here's a collection of working solutions how to center content inside DIV horizontally and vertically (multiline text, image or anything) using CSS.

This is an easy way to create a sexy loading throbber image without image using only CSS!

All common Drupal 7 database examples here: select, update, delete, insert, join, filter, sorting, limit etc.

The easiest way to simply send email in Drupal programmatically.


Hey! Don't miss a new cool stuff!