<Img> tag vs CSS background image…This has caused much confusion to many web-developers I have met – many more developers don’t care. So, when should you use an <img> and when should you use a CSS background image on your element? The answer is surprisingly simple…In nearly all cases, use <img> tags for contextually important More >
accesibility,
background,
background images,
CSS,
eyesight problems,
image,
Img,
perfect eyesight,
Screen,
screen reader users,
walks of life
Recently, I’ve been doing quite a lot of JavaScript development, part of which involved equalising heights of a group of similar elements on the page. I thought this would be very simple and indeed it was but it threw up a JavaScript quirk which I have seen several times before. The solution is simple, but More >
browser,
browser cache,
browser stores,
container element,
container elements,
correct dimensions,
dimen,
DOM,
dom tree,
element,
height,
image,
Javascript,
Mac,
Mac OSX,
meta data,
modern browsers,
opera,
opera mac,
page,
parent container,
quirk,
tag attributes