Right-align block elements in HTML

后端 未结 8 876
故里飘歌
故里飘歌 2021-02-06 23:53

I\'d like to right-align block elements in a floating container.

Assume the following markup.

8条回答
  •  臣服心动
    2021-02-07 00:32

    There are two possible solutions one with basic HTML attribute: Approach 1:

    ...some text...

    Approach 2: You can use Column based layouts using http://www.gridsystemgenerator.com

    Col 1 Col 2 text.. image

提交回复
热议问题