[css-d] Unexpected font-size and top of box change

2011-04-23 Thread J.B. Nicholson-Owens
I was playing with http://csstest.forestfield.org/fun-with-transitions/ and I noticed that in some browsers (Firefox 4.0, for example) the top of the border around Place a statue of Dr. Doom in a local park moves down as the hover transition takes effect. In Konqueror 4.5.5 this does not

Re: [css-d] Unexpected font-size and top of box change

2011-04-23 Thread Alan Gresley
On 24/04/2011 9:48 AM, J.B. Nicholson-Owens wrote: I was playing with http://csstest.forestfield.org/fun-with-transitions/ and I noticed that in some browsers (Firefox 4.0, for example) the top of the border around Place a statue of Dr. Doom in a local park moves down as the hover transition

Re: [css-d] Unexpected font-size and top of box change

2011-04-23 Thread J.B. Nicholson-Owens
Alan Gresley wrote: What is happening in FF is that the default margin-top (1em) of p.effect is growing in height along with the font-size. Give this element an absolute value of margin-top but not in ems. You can also make the CSS a lot more simpler by using the shorthand 'transition: all 5s'.