Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有 cfquery 循环,然后我将一个查询列值(文本)显示到锚标记中。
例如
<cfloop query="testQuery"> <a href="##">#testQuery.Title#</a> </cfloop>
假设 testQuery.Title 变量返回“定义字符的解释/发音(用于东亚印刷)”但我需要打破示例的句子
“定义 字符的解释/发音(用于东亚排版)”
只需将链接放入包装器并设置一些宽度。
<cfloop query="testQuery"> <div style="width:200px !important"><a href="##">#testQuery.Title#</a></div> </cfloop>
如果您还有任何问题/它不起作用,请告诉我。