How China "webpage code

How China "webpage code <div style=" width:500px; height:500px; > "there are more than N content tag </div> I want to zoom into width 250px height 250px how to get

Started by Charlene at November 16, 2016 - 10:07 PM

Originally a max-width can be used, but you inline styles to define width it is not so, is not compatible in some browsers,
In view of your inline style defines width, then only JS operation, after the completion of loading JS changes you want to change the div all width and height

The JQ selector and each changes

Posted by Antonio at November 22, 2016 - 10:34 PM

I've be scaled down ah you cut to support more than IE9.

Posted by Charlene at December 07, 2016 - 11:07 PM

I want to narrow the how to get equipment height according to the equipment height.

Posted by Charlene at December 17, 2016 - 12:06 AM

Width and height with percentage, do not specify a specific value, it can automatically adjust according to the screen size.

width:100% height:100%

Posted by Antonio at December 22, 2016 - 12:14 AM