WTF? - Grin with cat attached
|WTF?||Apr. 7th, 2004 03:11 pm|
CSS misbehaviour that's just Far Too Weird for parsingphase (although I may document any solutions there later).|
I have an XHTML 1.1 file. It has a div that's 145 px wide. This div contains a number of images, 145x22px, with no text or anything else in the div. So, the images stack one on top of each other.
With vertical gaps between them. They are styled 'border:0; padding: 0; margin: 0'. And there's gaps between them.
How do I fix this? I set font-size: 2px on the enclosing div. Please don't ask me why the hell I decided to do that, but it works.
WTF is going on here!?!?