yeeen
yeeen

Reputation: 4945

How to arrange canvas created dynamically?

What I want to achieve is

enter image description here

Here is my code which didn't manage to give me the result i want. How come? I tried before Canvas.x.style.float also doesn't work...

http://jsfiddle.net/Jg2w4/

Upvotes: 3

Views: 221

Answers (1)

Simon Sarris
Simon Sarris

Reputation: 63830

I simplified it a bit for you:

http://jsfiddle.net/LrkZn/25/

I'd strongly suggest letting CSS layout the items instead of trying to finagle with absolute positions.

Upvotes: 3

Related Questions