All articles(网络文学目录) All Pictures(图片目录) All Softwares(软件目录)

 
去掉ul全局配置及smarty的问题_php资料_编程技术

Writer: delv Article type: Programming skills(编程技巧) Time: 2013/12/29 4:43:45 Browse times: 491 Comment times: 0

去掉ul全局配置及smarty的问题_php资料_编程技术


Head photo

Go homepage
Upload pictures
Write articles

去掉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配置的原因还是什么,先记录下来





There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)

Disclaimer Privacy Policy About us Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.