<hr> - Forum

Forum Navigation
You need to log in to create posts and topics.

<hr>

hello everyone

I put this html code in a container

<hr style = "border-width: 5px; height: 2px; background-color: black; color: black;" >

The line appears well on the screen but it does not appear if I print ...

(with google chrome)

@grab please take a look here:
https://stackoverflow.com/questions/9140585/hr-not-seen-when-printing

Regards

ok it works, thanks.
Here is the code proposed in your link

display: block;
height: 1px;
background: transparent;
width: 100%;
border: none;
border-top: solid 1px #aaa;

I only kept the end with and that's enough. I have a beautiful black line:

<hr style = "border-top: solid 4px black;">