Web Design

Site Design Basics – Navigation and Links

Posted by George on December 4, 2008 at 10:48 pm

I’m amazed at times to I see high profile websites breaking what I consider to be unspoken “laws” of web design. One of the first of which would be to insure that visitors to your site can distinguish between clickable and non-clickable text. For example, you want readers to easily see at-a-glance how to navigate [...]

PHP Timezone Hack – Overriding server timezone

Posted by George on September 1, 2008 at 2:18 pm

UPDATE Nov 2010: Much shorter code over on my Tech Blog… PHP Local Time in your timezone As is often the case I work on servers that are not in the same timezone as I am, or servers whose time is set to Greenwich Mean Time (GMT). This PHP time hack below is something I [...]

Using .htaccess to set a custom 404 page

Posted by George on August 31, 2008 at 3:41 pm

This should be a decent, if short, follow-up for the recent post about using PHP for redirects. If you want to build a custom 404 page to avoid visitors seeing whatever 404 page their browser presents then try this in your .htaccess file: ErrorDocument 404 /notfound.html Or maybe you don’t want to actually build a [...]

PHP Redirect – flexible and even scripted redirection

Posted by George on August 30, 2008 at 3:06 pm

Generally speaking I prefer 301/302 redirects in .htaccess because I find on a domain-wide basis they are easier to manage since all redirects are in one handy file. Sometimes, though, redirection with PHP is a better fit, and since I’ve not remembered to add this little bit to my Dreamweaver Snippets, I thought maybe someone [...]

Expanding Dreamweaver usability with Windows/Mac OS/Linux

Posted by George on June 2, 2008 at 2:48 pm

Over the years I’ve found it necessary to copy text from a variety of sources such as the web, PDF files, MS Word files, Corel WordPerfect and others into Dreamweaver’s design view (or even into email). Its not always a smooth process and sometimes the copied text needs to have formatting and/or pictures removed from [...]