View Full Version : Using the <if IE> hack?

02-26-2011, 06:53 PM
My blog: http://uk451.blogspot.com/

I've just checked my blog in IE - which I always dread doing - and things didn't look quite as bad as I was expecting. The only really big difference is that images in my blog posts are centered instead of left-aligned as they are in FF (which is how I want them)

I've never understood (or had it explained so that I understand fully) how the "if IE" hack is used. What would I need to do so that the images are left-aligned in IE like they are in FF?


02-26-2011, 07:09 PM
Before you go down IE conditional comments have a try with:

.entry img {
border: 0 none;
display: block;
margin: 0.5em 0 8px;

02-26-2011, 07:13 PM
SB65 - I want to have your babies!

Thank you! That worked like a dream.

I was dreading having to start fannying around with external CSS.