4 ms·
They both make sense for their respective use cases. An image has a fixed size. An HTML element does not necessarily. You can't measure the the right border fro
by danellis 6y ago
They both make sense for their respective use cases. An image has a fixed size. An HTML element does not necessarily. You can't measure the the right border from the left of an element if you don't know how big it is.