I do not want these links display next to each other on the web page (only in the <footer> element, I want one link per line and I don't want to use <br>:
<footer>
<p>Copyright © 2013 </p>
<a href="http://www.link.com/">link.com</a>
<a href="http://www.link.com/">link.com</a>
<a href="http://www.link.com/">link.com</a>
<a href="http://www.link.com/">link.com</a>
<a href="http://www.link.com/">link.com</a>
</footer>
Set the a elements display property to block, which will cause each element to be displayed on their own line.
footer a{
display: block;
}
You can make them block elements:
footer > a { display: block; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With