的标题元素我有一个表单标签如下:如何应用CSS样式,弹出标签
<label id="jform_email-lbl" for="jform_email" class="hasTip required"
title="Email Address::Please enter the email address associated with your User
account.<br />A verification code will be sent to you. Once you have
received the verification code, you will be able to choose a new password for
your account.">Email Address:<span class="star"> *</span></label>
我想不同的风格应用到我的酥料饼的“标题”元素(#000)。
不是表单上显示的“电子邮件地址:”标签(即#fff)。
以为我也许能做到以下几点,但它不工作:
label#jform_email-lbl[type="title"] {
color: #000;
}
**** EDITED ** 的答案如下 - 其他任何人试图找到合适的CSS:**
div.tip .tip-title {
color: #E77600 !important;
font-weight: bold;
}
div.tip .tip-text {
color: #979797 !important;
font-weight: bold;
}
标题已黑,你正在尝试ŧ实现? –
在我的CSS我有标签{颜色:#fff;} - 我想离开这一个人。但是当你将鼠标悬停在标签上时,从'标题'元素弹出/显示的文本也是白色的 - 我希望这是#000 – user991830
@ user991830检查我的答案http://jsfiddle.net/zanTf/1/我将更新 – falguni