0

<hr> tag

I cant put the width and text on same line. Sorry my launguage

10th Aug 2019, 12:53 PM
Harold Finch
Harold Finch - avatar
9 Respuestas
10th Aug 2019, 1:48 PM
KrOW
KrOW - avatar
+ 1
hr is a block-level element and will not work properly when turned into an inline one. An hr always goes into the next line and occupies a line alone.
10th Aug 2019, 1:33 PM
Paul Grasser
Paul Grasser - avatar
+ 1
Okey i understand now thanks so much
10th Aug 2019, 1:35 PM
Harold Finch
Harold Finch - avatar
+ 1
My pleasure! 😀
10th Aug 2019, 1:37 PM
Paul Grasser
Paul Grasser - avatar
+ 1
KrOW yea that is one possible way but I think he wanted the text on the other side of the line. Then it would be difficult to adjust the width to fit.
10th Aug 2019, 1:59 PM
Paul Grasser
Paul Grasser - avatar
+ 1
KrOW yes yes something like that thanks for the answers both of you
10th Aug 2019, 2:24 PM
Harold Finch
Harold Finch - avatar
0
Could you please elaborate? The <hr> tag is used to create a horizontal line that spans all the way across the website.
10th Aug 2019, 1:05 PM
Paul Grasser
Paul Grasser - avatar
0
Paul grasser you mean there is no way to put them same line. İf i wanna write some words and draw a line like the continuation of the sentence, what i need to use? CSS or JavaScript?
10th Aug 2019, 1:25 PM
Harold Finch
Harold Finch - avatar