代码如下: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html> <head> <title>js获取height和width总结</title> <meta content=”text/html;charset=UTF-8′′ http-equiv=”Content-Type”/> [removed]