smarttechy smarttechy - 5 months ago 7
CSS Question

How to make two rows to have same ending and starting point

I want to make cal and email to have same starting and ending point means ending and starting should be aligned for all screens . Here is my coding

<span style="text-align: center;font-family:Myriad Pro;font-weight:bold">
Call :- <span class="word">91</span>&nbsp;-&nbsp;&nbsp;<span class="word">number</span><br>
+ <span class="word">91</span><span class="word">number</span><br>
Email :- care@




enter image description here

Answer

Put your content in a table, it will make your content neater.

For example :

    <table>
       <tr>
          <td>Call</td>
         <td>
             Number One<br>
             Number Two
         </td>
       </tr>

       <tr>
         <td>E-mail</td>
         <td>email@email.com</td>
       </tr>
  </table>

You can see my example here. Or you can check this link for more example W3School Tables