CMS教程:动易模板常用CSS修改操作技巧
|
源代码网整理以下1.--栏目文章列表内容间隔颜色的定义1-- 源代码网整理以下方法一(雅虎提供),如果是默认的,即不需要改函数式标签GetArticleList中的参数,可以用CSS来定义(在后台风格中修改): 源代码网整理以下.listbg /* --栏目文章列表内容间隔颜色的定义1-- */ 源代码网整理以下{ 源代码网整理以下background:#ffffff;border-bottom: 1px dashed #cccccc; 源代码网整理以下} 源代码网整理以下.listbg2 /* --栏目文章列表内容间隔颜色的定义2-- */ 源代码网整理以下{ 源代码网整理以下background:#ffffff;border-bottom: 1px dashed #cccccc; 源代码网整理以下} 源代码网整理以下1): 方法1,表格虚线定义: 源代码网整理以下进入后台,打开网站风格管理,按ctrl+F查找 .listbg2 找到: 源代码网整理以下.listbg /* --栏目文章列表内容间隔颜色的定义1-- */ 源代码网整理以下{ 源代码网整理以下background:#ffffff; 源代码网整理以下} 源代码网整理以下.listbg2 /* --栏目文章列表内容间隔颜色的定义2-- */ 源代码网整理以下{ 源代码网整理以下background:#f7f7f7; 源代码网整理以下} 源代码网整理以下修改为: 源代码网整理以下.listbg /* --栏目文章列表内容间隔颜色的定义1-- */ 源代码网整理以下{ 源代码网整理以下background:url(Skin/blue/xxx.gif);height: 24;font-size:9pt;color: #000000; 源代码网整理以下} 源代码网整理以下.listbg2 /* --栏目文章列表内容间隔颜色的定义2-- */ 源代码网整理以下{ 源代码网整理以下background:url(Skin/blue/xxx.gif);height: 24;font-size:9pt;color: #000000; 源代码网整理以下} 源代码网整理以下注释:xxx.gif为虚线图片大小为3X24 px 与 height: 24 必须对称。color: #000000; 字体颜色。 源代码网整理以下示例图片1: 源代码网整理以下 ![]() 源代码网整理以下2): 方法2,标签来定义(需要手动把代码加到后台风格里) 源代码网整理以下自己定义连接的文字颜色与行高等参数。 源代码网整理以下{$GetArticleList(1,0,True,0,True,6,False,False,"",0,3,2,16,0,False,3,True,False,0,False,False,False,True,True,False,1,1,aaa,bbb,ccc)} 源代码网整理以下例子: 源代码网整理以下* 自定义列表标签链接文字颜色定义 */ 源代码网整理以下a.aaa{text-decoration: none;} 源代码网整理以下a.aaa:link {color: 000000;FONT-SIZE: 9pt;} 源代码网整理以下a.aaa:visited {color: 000000;FONT-SIZE: 9pt;} 源代码网整理以下a.aaa:hover{color: ff6600;FONT-SIZE: 9pt;} 源代码网整理以下a.aaa:active {color: 000000;FONT-SIZE: 9pt;} 源代码网整理以下.bbb /* --自定义列表标签中偶数表格行背景颜色定义-- */ 源代码网整理以下{ 源代码网整理以下background:url(Skin/blue/hengxian.gif);height: 24;font-size:9pt;color: #000000; 源代码网整理以下} 源代码网整理以下.ccc /* --自定义列表标签中偶数表格行背景颜色定义-- */ 源代码网整理以下{ 源代码网整理以下background:url(Skin/blue/hengxian.gif);height: 24;font-size:9pt;color: #0000ff; 源代码网整理以下} 源代码网整理以下注释基本同上。 源代码网整理以下源代码网供稿. |

