cms修改栏目单页样式错位调整

if (dt.Rows[0]["ClassTemplet"].ToString().Trim() == "")
{
rows_key.Style.Value = "display:none";
rows_meta.Style.Value = "display:none";
div_Templet.Style.Value = "display:none";
editorcontent.Style.Value = "display:none";
//textcontent.Style.Value = "display:block";
contentTag.InnerHtml = "网页源码";
zt.Checked = true;

}
else
{
//rows_key.Style.Value = "display:block";
//rows_meta.Style.Value = "display:block";
//div_Templet.Style.Value = "display:block";
//editorcontent.Style.Value = "display:block";
textcontent.Style.Value = "display:none";
contentTag.InnerHtml = "内容";
zt.Checked = false;
}

注释 display:block

上一篇:urllib2.open(req).read() 报403的错误:怎么办?


下一篇:ThinkPHP函数详解:C方法