3rd
JAN

HTML entity – character conversion in PHP

0 Comments

Posted by Joe under Programming

A quick quiz for PHP developers:

  1. What function in PHP’s standard library is used for converting characters in a string to HTML entities?
  2. What function does the opposite?
  3. By default, what character encoding is used by each of these functions?

Read the rest of this entry »

16th
DEC

Meet Greg – Our New Web Designer

0 Comments

Posted by Zak under Team

Hi, I’m Greg Jones. I started working at PX Webdesign just over four months ago now, as their new Web design Trainee. In that time I have learned multiple coding languages and been able to integrate myself into the design team. I’ve been using computers for what seems like my entire life, but I’ve always been keen to learn more. Working at PX Webdesign and being trained by Zak has given and continues to give me the opportunity to do just that – learn as much as I am able whilst working in a fun and ever changing environment.

Read the rest of this entry »

12th
DEC

Create a Custom Self-hosted Webfont

0 Comments

Posted by Zak under Design, General, Projects

A few years ago it looked like self-hosted fonts were going to take the web by storm. By simply linking to a typeface in our CSS, we could use any typeface imaginable. But due to licencing issues with commercial typefaces, the focus has now shifted to font hosting providers like Typekit, Fontdeck and more recently Google Webfonts.

Read the rest of this entry »

16th
NOV

Meet Jibao – Our Newest Web Developer

0 Comments

Posted by Zak under Team

Hi there my name is Jibao Mansaray. Both of my names as you can tell are native. Jibao means “let God save this one” and Mansaray means “King”. My native language is Mende but sadly I don’t speak Mende. The reason for this is that I am a bit too lazy to learn a new language and secondly, we didn’t speak Mende at home. Each of my parents had their own native language so we just spoke ‘Pigeon English’.

Read the rest of this entry »

21st
OCT

Create an Animated Bar Graph using CSS3 Keyframing

0 Comments

Posted by Zak under Design, Programming

If you’ve read any web design blog written in 2011 you’ll hear that CSS3 is a great, simple tool to add interactive elements to a website. It’s popularity seems to coincide with the widespread adoption of modern browsers like Chrome and Firefox.

I’ve been reading a lot of tutorials on CSS animations in particular but haven’t come across many practical applications of these properties. Sure, it can be wacky to make a GIF fly around the screen in pure CSS but these new effects need to be able to enhance the user experience.

Here’s how to create a quick animated bar graph using CSS keyframing. For the sake of demonstrations, I’ve made a simple Yes or No poll.

Read the rest of this entry »

14th
OCT

Modularise your CodeIgniter 2 applications with Modular Extensions – HMVC

0 Comments

Posted by Joe under CodeIgniter, Programming

CodeIgniter (CI) is a relatively lightweight PHP framework implementing the MVC pattern. It’s become quite popular amongst PHP developers largely for its simplicity and comprehensive documentation. This post discusses integrating Modular Extensions – HMVC with the CodeIgniter 2 framework, and the advantages that this gives over using the unmodified framework. Read the rest of this entry »

27th
SEP

Give your dull CSS reset stylesheet a facelift

2 Comments

Posted by Zak under Design

If you’ve ever built a website from scratch, no doubt you’ve had to subdue the erratic browser beast with a reset stylesheet. The majority of these stylesheets in use are pre made, garden-variety templates downloaded from the YUI library or copied from other sites.

Reset stylesheets can be more than a bunch of hacks setup to fix a website layout. They can also provide a set of easily accessible classes for editing content as well as enhance the user experience without cluttering up your primary stylesheet. Read the rest of this entry »

9th
SEP

IE6 wants to hide my post values – the horror!

0 Comments

Posted by Lee under Programming

I hit what would have to be one of the freakiest and hardest to replicate bugs in IE6 today. It all started when a client said a form they were using was coming up with missing post index errors. I spent forever trying to replicate and see what they were doing. Simply put if they pasted a certain bit of content into a plain textarea box the first post value would automagically disappear. That first value for us was a hidden value defining if you were adding or editing an item – kind of important!

Read the rest of this entry »

The Lab is the web development blog for Clear Pixel that covers many subjects from PHP, CSS, jQuery, CodeIgniter, Design and XHTML / HTML