Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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/

like image 961
yeeen Avatar asked Nov 28 '25 13:11

yeeen


1 Answers

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.

like image 124
Simon Sarris Avatar answered Nov 30 '25 02:11

Simon Sarris



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!