User:Alfwyn/Sandbox/IE Annoyance

From YPPedia

(My) IE doesn't seem to display the last pixel row of the pin, leaving a small gap between pin and the box. Mozilla does it right. But that's the case with the old code too (compare Template:My trinkets/Daisies vs. Daisies - in the my trinket case (my) IE doesn't show the bottom pixle row of the daisies).

This seems to be an issue wether to count from 0 or 1.

Changing the pixles displayed from 39px to 40px in 'Colorize trinkets' fixes it for the IE. Usually this won't break anything for other browsers, because on Mozilla it will just display the first pixle row of the box around the trinket, that happens to be identically to the empty box below the trinket. An interesting testcase should be a trinket that doesn't come with a box and is exactly 39px high.

Using the OM dolls as example (exactly 39px high) it doesn't seem to break anything for mozilla to try and dislay 40px of it.

Item box unequip.png
Trinket-Eurydice doll.png
Item box unequip.png
Trinket-Eurydice doll.png

1st Version 39 pixel - bottom pixel row of the doll is missing (doesn't connect to box) in IE

2nd Version 40 pixel - fine on IE

I would be interested in wether it makes a difference with other browsers and wether it breaks horrible with some.