去掉ul全局配置及smarty的问题_php资料_编程技术-你的首页-uuhomepage.com
大家都喜欢做网页是来个ul,ol,li,……{list-style-type:none;margin:0;padding:0;list-style-position:outside;list-style-image:none;}
可是有部分页面可能还是需要列表功能,比如后台用了富文本的前台新闻页。
可以在该页面放置内容的地方上,可能比较多的是DIV,写一个新的CSS来覆盖之前定义的。
1
<style type="text/css">
2
#comment ul,li{
}{list-style-type:disc;margin:auto;padding:auto;list-style-position:inside;}
3
#comment ol,li{
}{list-style-type:decimal;margin:auto;padding:auto;list-style-position:inside;}
4
style>
5
<div id="comment" class="boxA tran">
6
……
7
div>
2.我们后台是smarty做的模板,加载一个页面死活是白屏,尝试了很多方法
(1)action里echo没问题
(2)模板名字前后没有空格
郁闷了半天,结果是因为大写了一个字母,我汗~~~~
原文件为modalDialog.html,就是因为那个大写的D,不知道是smarty配置的原因还是什么,先记录下来