Vertically aligning text without the use of JavaScript

By Simon, 24 March, 2009, 1 Comment

This is one of those really annoying CSS bugs that should be so simple to do but is actually fairly problematic because of old browsers like IE6. Vertical-align should be all that’s needed but nope, certain browsers like IE6 don’t support it so we need to do some wizardry to get it to work cross browser. In this post I will talk about one lines and the more tricky wrapping of text.

Before I begin it is important to understand that the parent of a positioned child must also be positioned. In easy-to-understand terms that means the immediate outer div must have a position set for the inner positioned div to correctly work.

For one line of text I would make sure the parent element had a position of relative and then use the following code:

Share this post with others:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • De.lirio.us
  • Live
  • StumbleUpon
  • LinkedIn
  • Print
  • Slashdot
  • Technorati
  • TwitThis

Free icon set for web designers and developers

By Simon, 17 March, 2009, No Comment

A quick blog during my lunch break…

Smashing magazine is an almost daily read for me because a good majority of their articles are excellent and thought provoking. They have just released some free icons and a free wordpress template…

Share this post with others:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • De.lirio.us
  • Live
  • StumbleUpon
  • LinkedIn
  • Print
  • Slashdot
  • Technorati
  • TwitThis

Google releases a techie guide to its website optimizer

By Simon, 16 March, 2009, 1 Comment

On the 10th March 2009 Google released a 26 page PDF on how to use its website optimizer tool.

A/B testing is an incredibly powerful tool to maximise the most out of your space. Just a simple change like turning a sentence into a couple of bullet points could increase sales, the time on site and lower your bounce rate. As equally important to the increases is testing how a modification could actually negatively impact the page on a grand scale. If you don’t have a lot of usability knowledge behind you then this is a must have tool.

Share this post with others:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • De.lirio.us
  • Live
  • StumbleUpon
  • LinkedIn
  • Print
  • Slashdot
  • Technorati
  • TwitThis

IE6 Bug – white space between 2 divs

By Simon, 12 March, 2009, 5 Comments

Graphic designers just love creating pages that we know will cause IE6 issues. I honestly don’t think they can help it :-)

As I come across my usual bugs I’m going to start posting what the bugs were and how I solved them.

Share this post with others:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • De.lirio.us
  • Live
  • StumbleUpon
  • LinkedIn
  • Print
  • Slashdot
  • Technorati
  • TwitThis