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.
我的页面中有两个超链接
<a>link 1</a><a>link 2</a>
我需要在这些超链接之间留出空间。我为此写了如下的css
<style> a {display:inline-block; margin-right:10px;} </style>
但问题是它cursor:pointer也显示在“margin-right:10px;”的悬停中
cursor:pointer
这不像超链接中的空间。
如果没有 ,我怎样才能在这些之间腾出空间cursor:pointer?
将它们包装在 a 中并使用:)div设置 div 的样式word-spacing: 10px;
div
word-spacing: 10px;
空间越word-spacing多,空间越word-spacing少:)
word-spacing
只需将所有超链接包含在 div 中。之后转到 yuor 样式文件并添加字间距属性,例如 10 pc
'重量转换器'
试图掌握使用存根的窍门,但我无法获得正确的格式,我有什么问题?我知道在这种情况下我已经在代码中使用了该方法,但我正在尝试学习如何正确执行存根。
测试:
describe "Convert Pounds to Kilo