html - How to align both words to start from the same column -


i have following code:

<center> <div>     first     <br />     second </div> </center> 

i want leave text @ center, need align both words start same column.

how can it?

try this:

<div style="text-align:center">   <div style="display:inline-block;text-align:left">     first<br />     second   </div> </div> 

Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -