【发布时间】:2015-12-07 01:07:04
【问题描述】:
Jquery 工具提示文本居中对齐。我需要将其对齐到左侧。 这是我的例子。
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery UI Tooltip - Default functionality</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script>
$(function() {
$( document ).tooltip();
});
</script>
</head>
<body>
<p><input class="age" title="how to align left?.how to align left?.how to align left?.how to align left?.how to align left?.how to align left?.how to align left?.how to align left?.how to align left?."></p>
</body>
</html>
我浏览了jquery js 和css 文件,但找不到,我可以在其中编辑text alignment 为tooltip。
请指教。
【问题讨论】:
标签: css jquery-ui text tooltip text-alignment