我的要求是:---
Selected outlet: Selected table: Selected employee: Logged in as:
Wine Bar 15 EmpName admin (admin)
我正在使用我的 html span 标签
<div class="my_dynamic_panel">
<span class="outletTitle right_border">Selected outlet:<b>Wine Bar</b></span>
<span class="outletTitle right_border">Selected table:<b>15</b></span>
<span class="outletTitle right_border">Selected employee:<b></b></span>
<span class="outletTitle ">Logged in as:<b>admin</b>
(admin)</span>
</div>
然后我的输出就像
Selected outlet:Wine Bar Selected table:15 Selected employee: Logged in as:admin (admin)
如果我在 span 内使用 break tag(br)
<div class="my_dynamic_panel">
<span class="outletTitle right_border">Selected outlet:<br><b>Wine Bar</b></span>
<span class="outletTitle right_border">Selected table:<br><b>15</b></span>
<span class="outletTitle right_border">Selected employee:<br><b></b></span>
<span class="outletTitle ">Logged in as:<br><b>admin</b>
(admin)</span>
</div>
那么我的输出是
Selected outlet:
Wine Bar Selected table:
15 Selected employee:
Logged in as:
admin (admin)
我的css不好。我想在 br 中使用 span 标签。请帮我