这是否适用于工具提示?出于某种原因,我认为在标题栏中添加div是无效的。将title标签放在title =“”字段中
<div class="graph_item tooltip" title="
<div id='tooltip_inner_container'>
<div id='title'>Ready Set Cook!</div>
<strong>250 HEALTHY POINTS</strong>
The Goal of Ready, Set, Cook! is to cook and log at least 1 recipe per week for 8 weeks. If you complete this challenge, You will
become eligible for prizes.<br /><br />
Registration:
May 7 - May 14<br />
Duration: May 15 - June 6
</div>
" style="width:100%; height:58px; left:0%; top:0%; background-color:#0073ad; background-image:url(images/a.jpg);">
为什么不应该允许它? – bwoebi
你可以做到这一点,但不要指望html显示在显示标题文本的小弹出窗口中。 – scrappedcola
它不会做你想要的东西 - 它不会显示为“div”。它只是将整块作为文本。看[这个jsFiddle](http://jsfiddle.net/77rah/)。 – iamnotmaynard