Thank you Cameron Adams for clearing this up!
Ah, our old friend IE6 again. Is there no end to it’s talents?
I came across a very strange bug in IE6 where sidebar section heading would not appear. Sometimes scrolling the screen would make a few appear, and then again make them disappear again.
It’s all down to floats when they have a background set – the background seems to become the foreground, obsuring everything. This can be cured by enforcing ‘layout mode’ by setting the element size to 0.01%, which forces IE6 to re-assess what it’s doing.
Blimey! Something to make IE6 behave!
I needed to resize images proportionally for a site and found the answer far more simple than I expected…
If you need to specify the height set the width to auto. Vice versa for width.
Why can’t all CSS be this simple! It even works in IE6….