I have a simple p tag with some sample text which is currently centred. However, for the text to all align to one side (like what the arrows show below), i would have to use text-align: left;
.
Whilst this works, the sample text would no longer in the centre of the webpage.
My current code:
.aligned-p-text {
margin-top: 50px;
text-align: center;
/*unsure how to carry on from here :/ */
}
How could i center the text and align it all with the red line i have shown below? Thanks in advance :D