I have something like this:
<li>Post by <a>Author</a></li>
And I want to display the link in a new line, like this
Post by
Author
How can I achieve this? Clear:left doesn't work.
I have something like this:
<li>Post by <a>Author</a></li>
And I want to display the link in a new line, like this
Post by
Author
How can I achieve this? Clear:left doesn't work.
Use the display property
This will make the link to display in new line
If you want to remove list styling, use
Use
<br />
OR<br>
-OR
or
make the
a
elementdisplay:block;
Try
How about with a
:before
pseudoelement:or you can use: