Html 在Twitter引导中对齐输入组插件

Html 在Twitter引导中对齐输入组插件,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我试图将输入组插件文本对齐到文本框的左侧,而不是右侧 如果我使用这个: <div class="input-group"> <span class="input-group-addon" style="font-weight:bold; font-size:14px;"text</span> @Html.EditorFor(model => model.Price, new { htmlAttributes = new { @class = "form-con

我试图将输入组插件文本对齐到文本框的左侧,而不是右侧

如果我使用这个:

<div class="input-group">
<span class="input-group-addon" style="font-weight:bold; font-size:14px;"text</span>
@Html.EditorFor(model => model.Price, new { htmlAttributes = new { @class = "form-control" } })
</div>
它可以工作,但是如果我交换第二行和第三行代码:

<div class="input-group">
@Html.EditorFor(model => model.Price, new { htmlAttributes = new { @class = "form-control" } })
<span class="input-group-addon" style="font-weight:bold; font-size:14px;"text</span>
</div>
插件不会移动到文本框的另一侧,而是移动到页面的最左侧

非常感谢你的帮助


*我使用的是从右向左对齐。

我认为引导程序不支持没有外部库的RTL。你可以在这里看到它是如何变化的。如果你有一个打字错误,你需要在写文本之前关闭span标记