我在網站上使用自定義項目符號點。 現在這個網站也將提供阿拉伯語。項目符號使用阿拉伯文RTL方向定位
.post ul li{
color: #555555;
background: url(images/ico-bullet_round.gif) no-repeat !important;
background-position: 300px 6px !important;
padding-right: 15px !important;
padding-left:0 !important;
direction:rtl;
}
但是用方向:rtl;我無法在右側列出所有要點。有些比其他更加縮進。
Please see a screenshot showing the problem.
如何簡單地排列在右邊的所有要點有什麼建議?
更新:請參閱此屏幕截圖background-position設置爲0 6px。它與方向有關:rtl;但我無法弄清楚。
我不確定爲什麼要通過CSS指定方向性。你有沒有試圖分配dir =「rtl」屬性來封裝標籤(包含你的無序列表的標籤)?我認爲它可以解決你的問題... – 2010-10-17 10:00:59