This is embarrassingly simple but I’m using the ‘hr’ tag to create a horizontal line on a web page but I’m struggling to find a way to position it precisely on the page. No matter what I do it sits at the very top of the page. I’ve tried googling the answer to no avail.
Can someone please explain how i can move the line either on the html or using css? My usual method for positioning elements in css is this:
but this didn’t work. I don’t know if there is another, simpler way to create a line which might be easier?
Thanks for the advice. I guess I may have an issue with the ‘flow’ of the page. I’ve always used absolute position to arrange elements on the page. What’s the best way to load html other than copy/paste on to this page?