使用div嵌套,在IE中,子层可以撑高父层,但是Firefox以及Chrome中却不行,可以尝试在父层div的css中加入
这样就可以解决Firefox及Chrome中div不撑高的问题
我们在使用科讯CMS的系统函数文章列表或终极分页列表时,如果循环体中包含{@photourl},则文章列表只显示有缩略图的文章,那么如果让科讯CMS文章列表显示无图文章呢? 解决方法如下:
打开KS_Cls/Kesion.Label.FunctionCls.asp,找到下面的代码:
If PrintType>=2 Then FieldStr=FieldStr & ",I.fulltitle as fulltitles,I.PhotoUrl,I.Intro" : If PrintType=2 or (instr(LabelStyle,"{@photourl}")>0 and PrintType>2) Then Param = Param & " And I.PicNews=1"
...首先在科讯CMS后台创建SQL函数标签
标签名称: 栏目简介
查询语句: select id,foldername,mid(classbasicinfo,instr(classbasicinfo,"||||")+4) as s,mid(s,1,instr(s,"||||")-1) as 栏目介绍 from ks_class where classid={$Param(0)} order by folderorder
...假使我们需要内框一网址,但只是想显示页面中的某一位置,怎么办呢?当然前提是被内框的页面我们动不了,那么就只有在 Iframe 本身上想办法。对 Html 说到底还是不熟悉,用 Vspace 和 Hsapce 定义半天无果,搜索了一下感觉也不是那么回事。最后只有求救于 CSS。
...chrome margin失效的解决办法可以尝试在第一个div中加入overflow:hidden;
测试代码,注意红色部分:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
...
由于官方没有当前频道(栏目)的子栏目列表,或者说同类栏目列表。即频道、栏目导航。
...使用css是可以控制文字间距的,方法是在CSS样式表中加入 letter-spacing:2px; 如:h2 { font-size: 18px; letter-spacing:2px}
一般来讲,PHPCMS在showpage.html页面中可以使用{$url}调用当前文章的地址,但是遇到自定义静态页面就会出错,所以,我们建议PHPCMS 内容页调用当前文章地址使用一下标签:
模板请使用 {go($catid,$id)} $catid栏目ID,$id文章ID,可以获取任何文章的URL地址
PHP 输出 echo go($catid,$id);
...最近在整合一个Asp程序,涉及到使用Fckeditor,调用代码如下:
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "../FCKeditor/"
oFCKeditor.ToolbarSet = "Default"
oFCKeditor.Width = "100%"
...
<< 向左走,向右走 >>
