0

How to display a horizontal line with a gap/space in between?

19th Dec 2018, 3:52 PM
narendra
11 Respostas
+ 5
Anna welcome😊
19th Dec 2018, 5:44 PM
Gordon
Gordon - avatar
+ 4
narendra It can be done as... <hr width = "50px" /> Check the lesson below: https://www.sololearn.com/learn/HTML/1029/
19th Dec 2018, 4:06 PM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 4
narendra then increase the width..To maybe 100%..â˜șâ˜ș
19th Dec 2018, 4:11 PM
Ikechukwu Okonkwo
Ikechukwu Okonkwo - avatar
+ 4
Anna Following for your enrichment: vh stands for percent of view height For window view of around 500px, 33vh is around 166px Asker mobile around 300px screen width So he sees "a half line" . Also in this series is vw vmax vmin
19th Dec 2018, 5:42 PM
Gordon
Gordon - avatar
19th Dec 2018, 5:37 PM
Gordon
Gordon - avatar
+ 2
https://www.sololearn.com/Discuss/1625654/?ref=app Anna can you help the above person Zoe with his Python problem?
19th Dec 2018, 5:39 PM
Gordon
Gordon - avatar
+ 2
Anna thanks for replying, 👌 maybe I ask Kishalaya to help tomorrow
19th Dec 2018, 5:43 PM
Gordon
Gordon - avatar
+ 1
I suck at HTML but I would try something like: <table> <tr> <td style="width:33vh"><hr /></td> <td style="width:2vh">& nbsp;</td> <td style="width:33vh"><hr /></td> </tr> </table> There's probably a better solution though. /Edit: Sorry, I thought you were looking for a vertical gap in a horizontal line: ____ ____ Now I think what you really want is a horizontal gap between two horizontal lines: ____ ____
19th Dec 2018, 4:41 PM
Anna
Anna - avatar
+ 1
Gordon Thank you for asking me, but I have no idea đŸ˜©
19th Dec 2018, 5:42 PM
Anna
Anna - avatar
+ 1
Gordon Today I learned... 😃 Thank you! 😊
19th Dec 2018, 5:43 PM
Anna
Anna - avatar
0
no i am saying to display a full line with a space in between. Not to display a half line
19th Dec 2018, 4:08 PM
narendra