[英]text direction right to left (rtl) inside popover bootstrap
我嘗試編寫一個在懸停時出現的簡單彈出框,到目前為止非常簡單。 問題是我想用不是英文的標題寫標題實際上我想用希伯來語寫標題。 眾所周知,語言的方向是 rtl 而不是 ltr。 我的問題是我無法改變 text 屬性的方向,已經嘗試使用 class= pull-right。
這是代碼:
$(document).ready(function(){
$('#start').popover({
html : true,
content: "as you can see the hebrew text doesnt fit the title",
title: "<div class='pull-right'>שלום</div>",
placement : "bottom",
trigger: "hover"
});
});
這是測試代碼的鏈接
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.