我正在使用JHtml::tooltip在组件中显示我的工具提示,但问题出在图像位置。我试图添加bottom:0%
, bottom:0px
。
所以这就是我所拥有的:
我需要该图像与文本内联。这是我的代码:
<div class="serch">
<div class="advanced_search">
<span id="advanced_search">Advanced Search</span>
<span>
Search:
<a href="#"><span id="advanced_search_by_branch"><b>By Branch</b></span></a> |
<a href="#"><span id="advanced_search_by_address">By Address</span></a> |
<a href="#"><span id="advanced_search_by_tel">By Telephone Number</span></a>
<?php echo JHTML::tooltip('This is a tooltip attached to text', 'Text Tooltip Title', 'tooltip.png');?>
</span>
</div>
</div>
此处包含的样式为空。这里也是萤火虫的来源: