Incorrect size of div in Bootstrap -


goodnight everyone. i'm having trouble combining drag , drop script , bootstrap

example can seen here: http://goedgevonden.net/laurent/index.html

as can see, when try drag eyes or mouth (in left menu) droparea colors yellow. drop area set width of 55% (showing correctly) , height of 100% (only small yellow bar shows up). whats causing shrinkage of div in height? has solution this?

thanks in advance.

greetings, alfred kwak.

that's because element , parent don't contain parent takes height of normal row, in case 20px. hence element's 100% height makes equal parent's height, 20px.

you need manually set either element's or parent's height specific (e.g. 100px).


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -