English 中文(简体)
Jquery cs : The what s differences between these two forms of hover text
原标题:Jquery css : what s the difference between these two types of hover text

我很想知道,在你对一些东西进行 h弄时出现的两种案文的差别是什么,如果有人能够解释其中哪一种是什么,那会非常感谢。

First hover text : when you hover over the up-vote or down-vote here on stackoverflow you will see two different messages that appear in a yellow box.

Second hover text:

当被推荐的人在小圈子里 image上的形象或 h,而后台右边时,一个黑箱出现在一个小三角地带,并描述了你们的 h。

深知

最佳回答

In stackoverflow when you hover over the voted arrow is called a tooltip which is generated by default browser s for this we use title write this:

<a title="This question shows research effort; it is useful and clear (click again to undo)">up vote</a>

itter类是<条形状>,由您以<条码>cs创建。 并且;如果你想要某种估计,你也可以使用<代码>javascript。

Write like this:

html:

<a class="parent">
 <span class="tooltip">hello</span>
</a>

CSS:

.parent{
  display:block;
  position:relative;
}
.tooltip{
  display:none;
  position:absolute;
  top:-20px;
  left:-10x;
}
.parent:hover .tooltip{
 display:block
}
问题回答

您看到的对连续投票或倒数的冷藏效应是工具ti;用户作风,可以改变。 如果你使用标题属性,则按违约适用;如果你掌握该要素,则该工具图示。

当你看上@用户icon,显示其名称,用 c和(假定)通过 Java本加以描述时,你会看到对tw的影响;在来源上看不出多少,检查元件没有显示对元件或元件的称谓。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签