Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/35.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CSS/ZPT/Plone_Css_Plone_Zpt - Fatal编程技术网

CSS/ZPT/Plone

CSS/ZPT/Plone,css,plone,zpt,Css,Plone,Zpt,我尝试在Plone的ZPT页面中使用CSS。它工作的唯一方式是作为内联css。在页眉中使用样式标记不起作用,也不尝试使用链接的css文件 有办法吗?如果您只想在该模板中使用特定的css,那么首先必须注册css资源目录(在浏览器模块中),如下所示: 然后在模板中像这样使用它: ... 以下是一些有用的文档: 再见!格拉齐·米勒:)

我尝试在Plone的ZPT页面中使用CSS。它工作的唯一方式是作为内联css。在页眉中使用样式标记不起作用,也不尝试使用链接的css文件


有办法吗?

如果您只想在该模板中使用特定的css,那么首先必须注册css资源目录(在浏览器模块中),如下所示:


然后在模板中像这样使用它:


...
以下是一些有用的文档:


再见!格拉齐·米勒:)