javascript - Size of popup does not match up with its content -


in extension made chrome, have defined width , height of popup 600 x 300 px. works fine before until chrome updated chrome 27.

enter image description here

from image screenshot above, can see have set width , height through css, still shows 30 px gap in bottom of popup. frustrating because no matter tried gap still showing up. there nothing floating outside page, , have set body overflow: hidden.

window.resize( /* */ );  //won't different 

so how can make size 600 x 300 (in chrome 27)?

try using background-size property background-size:100% 100%; parent element has background.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -