Throughout my career as a web designer and developer I've had to come with new ways of solving particular problems. Here is a series of tutorials to share my experiences and knowledge with our community.
A common problem that I’ve encountered – how to control dynamic text based on how long it is. In this case I had titles ranging from 10 characters to 25 characters – this includes spaces. The goal is to make them centered regardless of how many letters and spaces are in the title. Here is [...]
Read More »
Posted on July 8, 2009 in Wordpress How-To's and has been tagged as css, php, wordpress.
Here’s a quick bit of CSS and HTML to achieve a simple dropshadow on text that uses abosolute positioning. This would work great for titles in WordPress. You can adjust the top and left positioning of the .bottom class depending on the offset of dropshadow you want.
Read More »
Posted on July 8, 2009 in CSS Tricks and has been tagged as css.