With regard to the smarty template technology, it cannot be displayed in combination with the css style. I wrote a page and the content is still okay. the display effect with css has reached my expectation, however, when I used the smarty template technology to display this page, there was no error or exception, but the page layout was messy (I checked many times about the smarty template technology issues ,,, css style display unavailable
Yes. I wrote a page and the content was okay. in combination with css, the display effect reached my expectation,
However, when I use the smarty template technology to display this page, there is no error or exception, but the page layout is messy,
(I have checked it many times, and I have not missed the css file or the spelling mistake.) is it because the template is not loaded into css when the smarty template is loaded,
My younger brother has not scored much. thank you!
------ Solution --------------------
It's impossible for you to right-click the source code and click the CSS file you loaded to see if 404 is reported.
------ Solution --------------------
Check whether the file encoding has a BOM header.
------ Solution --------------------
According to my first floor test, the path should be relative to the path of your php file, not the template path.
------ Solution --------------------
This is the most common browser compatibility issue. IE9-IE6, ff, chrome, opera, safari ......
------ Solution --------------------
Deliver problems...
------ Solution --------------------
------ Solution --------------------
Just compare the html output content (html source file) before and after modification.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.