I create a line with SVG and appears blurry on my webpage. To be more clear, it seems to be larger than the stroke width of 1px. Why is this happening, and is there a way to fix this in SVG?
Here is the code. When I run this code on its own, it is not blurry. When it's on my webpage, the line seems to be about 2px high, not 1.
#HorizontalLine1178 { stroke:rgb(154,154,154); stroke-width:1; }
<svg style="width:100%;"> <line id="HorizontalLine1178" y2="97" y1="97" x2="100%" x1="62" > </svg>
source share