自定义html工具提示文本

时间:2019-09-19 07:08:06

标签: html css

This is an example. This is an example.
ThisIsAnExampleThisIsAnExample
ThisIsAnExampleThisIsAnExample ThisIsAnExample

我希望如何查看它:

This is an example. This is an example. ThisIsAnExam
pleThisIsAnExample ThisIsAnExampleThisIsAnExample Th
isIsAnExample

它如何被实际查看:

title

如何自定义此行为?如何使用CSS选择CREATE DEFINER=`root`@`localhost` PROCEDURE `checking`(IN `mnth` int,IN `yr` int) BEGIN DECLARE cus_id text; DECLARE EXIT HANDLER FOR SQLEXCEPTION BEGIN ROLLBACK; END; SELECT GROUP_CONCAT(DISTINCT b.cust_id) FROM ttb_customer_billing b WHERE b.month_id IN (mnth) and year_id=yr INTO cus_id; SET @qry = CONCAT('SELECT a.*,g.assoc_name,c.ward_name,d.team_ld_name,e.volunteer_name,f.scheme_name FROM ttb_customer a left join ttb_association g on g.assoc_id=a.assoc_id left join ttb_ward c on c.ward_id=a.ward_id left join ttb_team_lead d on d.tm_id=a.team_lead_id left join ttb_volunteer e on e.volntr_id=a.volnt_id left join ttb_scheme f on f.scheme_id=a.scheme_id WHERE NOT FIND_IN_SET(a.cust_id,"',cus_id,'") > 0 ORDER BY b.assoc_name asc, residential_no REGEXP ('^[0-9]') DESC,CAST(residential_no AS UNSIGNED),REGEXP_SUBSTR(residential_no, '(^[a-zA-Z]+)|([a-zA-Z]$)'),CAST(REGEXP_SUBSTR(residential_no, '(^[0-9]+)|([0-9]+$)') AS UNSIGNED' ); PREPARE stmt FROM @qry; EXECUTE stmt; DEALLOCATE PREPARE stmt; END

2 个答案:

答案 0 :(得分:0)

  

尝试使用<b>&#013;</b>用于换行符<br>

<abbr title="This is an example. This is an example. &#013; ThisIsAnExampleThisIsAnExample &#013; ThisIsAnExampleThisIsAnExample ThisIsAnExample">test<abbr>

希望有帮助。

答案 1 :(得分:0)

对于Firefox,请使用&#10;

<abbr title="This is an example. This is an example.&#10;
ThisIsAnExampleThisIsAnExample &#10;
ThisIsAnExampleThisIsAnExample ThisIsAnExample">test<abbr>

相关问题