What was the problem with the approach mentioned above? Anyway, here is what I was trying to do: my page has a bunch of divs (let's call them cells), each containing content which makes their height distinct from other cells, while the width more or less remains constant. I'd like to arrange these cells in a grid within a parent "#content" div, specifying how many columns there should be in this grid, or alternatively, how wide each column should be. I've tried jquery plugins for this, but they come with their own set of problems, and it would probably be best if the grid were created within the controller, instead of the view (i.e. through jquery). To try to level out the height of the grid columns, it would be useful to know how tall each of the cells is. Any ideas for how to go about doing that?
On Monday, June 9, 2014 3:17:10 PM UTC-5, Leonel Câmara wrote: > > I can't imagine any good reason as for why you would want to do this. You > might be better off telling us what you're trying to accomplish so we can > help you find a better way to do it. > > That said. You could do it with selenium, see, for instance, this > stackoverflow question: > > > http://stackoverflow.com/questions/15510882/selenium-get-coordinates-or-dimensions-of-element-with-python > > Anyway, don't do this, this is stupid. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

