在 Confluence 4.0 中使用 css 设置速度标记样式
我写了一个汇合宏。它使用速度来生成 html 表。如果我在速度模型中不使用 和
标签,如何使用 css 设置此标记的样式。我尝试按照 this 示例执行操作,但 id不起作用(我的意思是它没有效果,并且没有我在宏结果页面的代码中指定包含的CSS资源文件)
I have written a confluence macro. It uses velocity to generate html table. How can I style this markup with css if I don't use <html>
and <head>
tags in my velocity model. I have tried to do as in this example but id doesn't work(I mean it takes no effect and there is no css resource file that I have specified inclusion on the code of result page of macro)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果我理解正确的话
您需要将 css 文件上的链接添加到 atlasian-plugin.xml
例如
,之后您需要将此链接添加到速度模板的顶部
if i understand you correctly
you need to add links on your css files to atlasian-plugin.xml
for example
after that you need to add this link to the top of your velocity template