Home >Backend Development >PHP Tutorial >smarty加载html时,html显示完全不正常,加载的图片跟css全失效了,单独打开正常

smarty加载html时,html显示完全不正常,加载的图片跟css全失效了,单独打开正常

WBOY
WBOYOriginal
2016-06-13 12:27:16939browse

smarty加载html时,html显示完全不正常,加载的图片和css全失效了,单独打开正常
smarty加载html时,html显示完全不正常,加载的图片和css全失效了,
如图admin.php是调用的admin_login.html


------解决思路----------------------
从admin.php找css和images路径
../../ 改成 ../

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn