The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Paragraph styling
I have styled this paragraph: http://codepen.io/prathoven/pen/KrkXJE by using list. Is there way to achieve this by using P tag and without first line or last line selection?
Use <br/> to split the paragraph, text-align:center; and display:inline-block;
Depends on your usage cos the breaks aren’t, strictly speaking, good practice, and go back to the dark ages of early text-layout formatting: http://codepen.io/anon/pen/AXxbKE
I’m unclear on what effect you are trying to achieve.