Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 引导列表组“a”中的文本未向右对齐_Html_Css_Twitter Bootstrap_Bootstrap 4 - Fatal编程技术网

Html 引导列表组“a”中的文本未向右对齐

Html 引导列表组“a”中的文本未向右对齐,html,css,twitter-bootstrap,bootstrap-4,Html,Css,Twitter Bootstrap,Bootstrap 4,我试图将部分文本向右对齐,其余部分对齐bootstraplist组的左端,但所有内容都会向左对齐, {时事通讯中的时事通讯%u列表%} 尝试使用class=“向左拉”而不是class=“向左浮动” {时事通讯中的时事通讯%u列表%} 您只需在a元素上使用d-flex和justify-between。这将将文本向右拉,在现代浏览器中也将响应 我将不使用float right或float left重新修改-使用flex类的响应性要好得多 演示: @听到这个消息我很高兴。快乐编码。

我试图将部分文本向右对齐,其余部分对齐bootstraplist组的左端,但所有内容都会向左对齐,


{时事通讯中的时事通讯%u列表%}
尝试使用class=“向左拉”而不是class=“向左浮动”


{时事通讯中的时事通讯%u列表%}

您只需在
a
元素上使用
d-flex
justify-between
。这将
文本
向右拉,在现代浏览器中也将
响应

我将使用
float right
float left
重新修改-使用flex类的响应性要好得多

演示:



@听到这个消息我很高兴。快乐编码。