HTML & CSS posts
Various tips and tricks for creating rich and complex HTML emails that work in all major email clients including advice on layout, text formatting and images.
Top HTML Email Development Tips »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
Indexing database fields can do wonders to speed up complex PHP queries. This post goes shows how easy it is to know where to use indexes and how, using MySQL, PHP and PHPMyAdmin.
Speed up PHP through MySQL indexing »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
A few text glow effect samples and examples using CSS3, achieved by stacking the text-shadow CSS element.
Creating a CSS3 text glow effect »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
Large backgrounds in the BODY or DIV element will not display on an iPhone (Safari) because of the dimensions of the image which cannot exceed 5.2 mega-pixels.
Large background image not displaying on iPhone »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
A useful Twitter style PHP time interval function to calculate the difference in seconds, minutes, hours or days between two different dates and times. The function can be used to display seconds, minutes or hours only, or display the most relevant time measurement unit automatically.
PHP time interval function »
A cross browser compatible JavaScript function to select or de-select all checkboxes in a form. The check all function finds all checkboxes in a designated form, regardless of the checkbox name. JQuery version also available
Check all checkboxes in JavaScript »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
A useful PHP function that gets the first paragraph from a regular HTML string, with option to remove the paragraph tags.
Get first paragraph function in PHP »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
Some useful Spry code that allows a single, unique row or record to be selected from an XML dataset. The process involves first passing a unique row ID to a detail page and then filtering a single row from the XML using the unique ID.
Find specific row in Spry XML Dataset »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
A few simple Spry snippets to limit the number of rows displayed from a Spry XML Dataset, limit the characters displayed in a Spry field and how to get around the security issues preventing xml external feeds to be used.
Limit rows & characters & using external feeds with a Spry dataset »
Warning: Trying to access array offset on value of type bool in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
14
Deprecated: Automatic conversion of false to array is deprecated in
/homepages/28/d1016621825/htdocs/wp-content/themes/tomelliott/archive.php on line
16
Getting into the nuts and bolts of Wordpress PHP in order to customise Meta Titles for the various page types including category meta title, homepage meta title, and post meta title.
Wordpress meta titles on Home, pages, posts and categories »