| <!DOCTYPE html> |
| <!-- |
| | The property "text-align" should not double shift content |
| | when inside a containing block. |
| | https://www.w3.org/TR/css3-text/#text-align |
| --> |
| <html> |
| <head> |
| <style> |
| body { |
| margin: 0px; |
| font-family: Roboto; |
| font-size: 20px; |
| } |
| .containing-block-left { |
| background-color: #03a9f4; |
| width: 200px; |
| text-align: left; |
| } |
| .containing-block-center { |
| background-color: #03a9f4; |
| width: 200px; |
| text-align: center; |
| } |
| .containing-block-right { |
| background-color: #03a9f4; |
| width: 200px; |
| text-align: right; |
| } |
| </style> |
| </head> |
| <body> |
| <div class="containing-block-left"> |
| <span>abcdefghijklm nopqrstuvwxyz</span> |
| </div> |
| <div class="containing-block-center"> |
| <span>abcdefghijklm nopqrstuvwxyz</span> |
| </div> |
| <div class="containing-block-right"> |
| <span>abcdefghijklm nopqrstuvwxyz</span> |
| </div> |
| </body> |
| </html> |