O
O
originalnik1232021-04-08 18:18:56
css
originalnik123, 2021-04-08 18:18:56

The line is not centered? How to align?

606f1e803766a410984481.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WebEagle, 2021-04-08
@originalnik123

<div class="line"></div>
<style>
.line {
  border-top: 1px solid #000000;
  width: 90%;
  margin: 0 auto;
}
</style>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question