Something like this

<div class="text-mid">
  <span>TEXT</span>
</div>

CSS

.text-mid {
  display:block;
  margin: 10px;
  padding; 10px;
}

I want the arrangement as like in image →
enter image description here

Presuming you’re asking about the text with a line on either side, there are several examples in this thread:

2 Likes

Yes Yes. Thanks!

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.