Levenson & Associates, Inc. Specializing in database driven, interactive web sites with sophisticated content manamgement systems(CMS) Tips & Tricks

Tips & Tricks

Cross browser compatible drop shadow method for plain text that really really works!

As many of you have done, I've searched high and low for a TRUELY SIMPLE cross browser compatible methods for drop shadow to plain, html text with no luck. I was discussing it with the graphic artist I use for my web sites and she suggested a solution that is so simple and obvious I can't believe it didn't occur to me before. Simply stack two sets of the same text string on top of each other with a slight offset in the direction you would like your shadow. The two strings will be identically formatted except the color. The first string should be your shadow color.

Sample Code

Sample Results

DROP SHADOW TEXT
Cross browser compatible drop shadow method for plain text that really really works!
DROP SHADOW TEXT
Cross browser compatible drop shadow method for plain text that really really works!




$_POST Contains no Values - or - Empty $_POST Array

There are more than one causes for an empty $_POST array but I didn't find this solution anywhere else on the web and it turned out to be the one that I needed.

I develop websites in PHP. I recently experienced a situation where correctly written forms defined as method='post' would not pass the posted data via the superglobal $_POST. It was also the first time I'd worked on a website that had the domain defined without the www. in front of it. i.e. mydomain.com rather than www.mydomain.com. I had, out of habit defined constants that I used throughout the application as including the www. It didn't seem to cause problems anywhere else and I didn't give it much thought. However, when all else failed, removing the www. from all references to the domain in actions fixed the problem.

I suppose it stands to reason that if the preferred domain is defined with the www. you might find the solution is be sure and include it in all form action statements that use an absolute url.

I hope this helps you.


It's a Hit! Gauging Success through Traffic Analysis

An article by Chris Beasly

Great information on how to analyze site traffic.

 

6880 Perdido Bay Terrace • Lake Worth • Florida • 33463 • 561-432-3324 • pLevenson@pLevenson.com