Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 php 结构并希望将我的 div 嵌入到 php 中。必须用 echo 类编写 css 但我不知道该怎么做。
我的分区:
<div class="mydiv"> <img src="catalog/view/theme/default/img/mypng.png" alt=""> </div>
如何解决?
嗯,你说的是这个吗?
echo ' <div class="mydiv"> <img src="catalog/view/theme/default/img/mypng.png" alt=""> </div>';