Archive for August, 2009

HTML email with images broken in Windows Live Hotmail and Firefox

Aug
10

If you’ve ever had to design/build HTML emails for work or fun or whatever, you might have run into a bit of an issue getting your email to display consistently in the multitude of email clients out there. I tend to just test my emails in Gmail, Outlook, Windows Live Hotmail and occasionally Mac Mail.

I used to only test in Windows Live Hotmail using IE as I was resigned to the fact that it never worked properly in Firefox – until now! I finally got hassled into finding a solution for the only issue we had left – a 3 or 4 pixel gap appearing in between all the images.

It turns out the problem is the way the browsers in quirks and standards mode align images to the text baseline – the 3 or 4 pixel gap is there to allow room for the descenders of lowecase letters like “p” and “y” – even if there are no letters in the <td> with the <img> in it.

There are 2 things you can do to resolve the issue – force all the images to be aligned to the bottom of the <td> rather than the default (text baseline):

<img src="something.gif" alt="..." style="vertical-align: bottom;" />

Or you can take the issue out of the rendering engines hands and fool it by making all the images block-level rather than inline:

<img src="something.gif" alt="..." style="display: block;" />

I prefer the second option, but the first one should work fine too! ;)

Eye creams: take your time, do some research and get it right!

Aug
10

This is a sponsored post:

I’ve been working with computers since I started university in 2001, and since then my eyesight has gradually been deteriorating! :( I don’t wear glasses or lenses, even though I probably should, and the reason is that I just don’t want to be burdened with them.

I can still see quite well even if I have to squint every now and then, but as soon as I get my eyes tested and have to start wearing specs, I’ll have no chance of being able to do stuff I take for granted at the min, like waking up at the weekend and grab a book to read.

Anyway, a friend of mine recommended me some zinc based cream he’d used on his eyes to keep them fresh, but it turned out I was allergic to it and ended up with a horrible rash on my face! :(

I read a bunch of Eye Cream Reviews and found a people talking about a different cream with an Aloe Vera base that really helped clear my eyes up and make me feel more fresh and awake! The website has loads of input and comments from real people on it. To make things easy, it also links to the places you can get all the creams it talks about! :)

If you’re struggling with your eyes, it’s important to do some research and choose the right product – reading other people’s reviews and seeing their results is probably the best way to find the product you need – I just wish I’d done some research from the beginning – the useful reviews I found on that site would have made things much easier for me!