css
Null Response From Drupal 6
Wed, 07/01/2009 - 12:29 | by philipnorton42I recently had some trouble with a Drupal 6 site I was updating. I wanted to create a local working copy of the site to test so I downloaded the files and backed up the database, but for some reason I couldn't get the site to run. In every browser I tried I would get "page cannot be displayed" or "host unresponsive". These messages were basically telling me that something on the site was causing it to fall over before it ever got around to producing any HTML, and so the browsers were treating it as best they could.
Nofollow Highlighting In Google Chrome
Fri, 11/28/2008 - 18:26 | by philipnorton42I found this excellent bookmarklet the other day which allows you to see nofollow links quickly and easily in Chrome most modern browsers.
Enabling Image Formatting In Your Wordpress Template
Thu, 11/20/2008 - 13:09 | by philipnorton42One neat thing about Wordpress is the ability to add images to your posts in a quick and easy manner. You can also create thumbnails of larger images and link to them using a captioned image. The only problem is that when you have sorted out how your images look in your post in the admin section they just don't appear the same in your template once you have published it.
Firefox JavaScript Debugging And Development With Firebug
Sat, 05/03/2008 - 22:40 | by philipnorton42Firebug is by far the best JavaScript debugging plug-in available for Firefox. I have been stuck on a few problems in the past and Firebug has usually provided me with a reason as to why things are going wrong. In fact when developing for other browsers (like Internet Explorer) I can feel a little blind as there are no debugging tools with the power and features of Firebug. It can allow you to stop JavaScript execution at any time using breakpoints.
Using PHP To Generate CSS
Thu, 01/31/2008 - 10:42 | by philipnorton42Generating CSS with PHP has several benefits. For example, you can keep all of your colour declarations as PHP variables so if you need to change any colours it only takes a small edit and not a find/replace operation.
Getting PHP to generate CSS requires just two steps. The first thing to do is to open your CSS file and insert the following line at the top. This tells the browser that the file is CSS.