开发者

Get a hold on a nested span

How can I ge开发者_StackOverflowt a hold on the h2 span element?

Get a hold on a nested span

div#content div.view-content div.view-row-item h2 span { ... is not working...


If you're using FireBug, you can right-click the span tag and 'copy css path' and that will give you the complete path to the element starting from 'html'


You're missing an s in div.view-row-item, it should be:

div#content div.view-content div.views-row-item h2 span {


In your example you've missed an 's' you need:

div#content div.view-content div.views-row-item h2 span 

viewS-row-item

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜