If there are two dividing lines, set the property display:inline-block.
Example:
& ltdiv style = " width: 100%; Text-align:center ">// Set the center.
& lthr style= "Width: 20%; Display:inline-block"/> insert text in the middle.
& lt/div & gt;