How to set span to the right by css
This article mainly shows you "css how to set span to the right", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "css how to set span to the right" this article.
Css span to the right, span to the right, span structure to the right
To make span a right-hand structure like div, you usually use a floating float.
To the right:
Float:right
Span sets the equipment configuration code on the right:
Span {float:right}
In this way, let span keep the right structure.
Span configuration right organizes the instance DIV CSS code as follows:
The right structure of span is CSS5.box {border:1px solid # 000bot paddingborder:1px solid 10px; width:300px;height:100px} .rt {float:right; border:1px solid # 00F; width:100px;} my SPAN is organized on the right. This is all the content of this article "how to set span to the right of css". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!