Frontendplace Blog

Sharing Frontend developing ideas

problem with positioning absolute element inside padded container in FF

Posted by info on July 29th, 2011

It looks like firefox does something strange when positioning an absolute positioned elements inside an element with padding. The left and top position is not the left and top position of the container but the left and top of the container including the padding.

Is this a bug or a feature in FF?

see example at: http://jsfiddle.net/wobbegong/RWws8/

safari

Firefox