Rumah > Soal Jawab > teks badan
document.writeln("<p style='clear:both; margin-top:10px;'><img src=\'/images/ggleft.png\' width=\'210\' height=\'100\'></p>");
ringa_lee2017-04-11 09:09:32
把最前面的/
去掉
<img src=\'images/ggleft.png\' width=\'210\' height=\'100\'>
或者加上点
<img src=\'./images/ggleft.png\' width=\'210\' height=\'100\'>
阿神2017-04-11 09:09:32
document.writeln("<p style='clear:both; margin-top:10px;'><img src=\'images/ggleft.png\' width=\'210\' height=\'100\'></p>");
你图片引用路径错了,单引号前面不要加/