Let's say I have 5 div
differ in height and width using float:left;
:
When I use .css("");
to get your positions (left and right),
"auto"
will always be the result.
Any method to get the exact number (left and right) in pixels relative to the container (< position:absolute;
) ?
(there are chances that the div
will start a new line when I use float:left;
and their width and height cannot be determined.)
user1282226
source share