I have the problem that I want to have the hr element on my website under a text but I don’t really know how to do it, I’ve already googled it so I hope someone can help me here is my problem
I created the hr element and just wanted it to be 50% and now I want it at the bottom above a text
I thought that the hr element would be just a little bit over the Text
<hr style="width:50%; text-align:bottom" />
<div class="footer">
Gemacht mit <span class="herz">❤</span> von
<a href="https://fastdropgaming.github.io">
<span class="fl">FastDrop Gaming</span>
</a>
<div>
<small>© <script src="assets/js/year.js"></script> FastDrop Gaming. Alle Rechte vorbehalten.</small>
</div>
<div>
<small><a href="https://fastdropg.carrd.co/impressum"></span>Impressum</a> ● <a href="https://fastdropg.carrd.co/contact">Kontakt</a> ● <a href="https://fastdropg.carrd.co/privacy">>Datenschutz</a></div></small>
</div>
2
Answers
Apparently, in your real code (which you didn’t post here completely, but which is what produces the screenshot you added), your footer has a fixed position (or something similar) at the bottom. So simply move the
hr
tag inside the.footer
div to make it part of that footer (i.e. at the bottom):you should put the hr inside the general div "footer" :