I’m trying to make a basic website and want to have a long line drawn on the top of the site. Tried using , but it keeps getting cut off after setting ‘width’ above 500. How do I fix this issue?
`<!DOCTYPE html>
<html lang="en">
<head>
<meta charmset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Wirtualna wizytówka"> </meta>
<meta name="keywords" content="radca prawny, prawo, radca, prawoznawca, pomoc prawna, prawnik"> </meta>
<link rel="stylesheet" type="text/css" href="style.css">
<title >Prawny</title>
</head>
<body style="background-color: #ffffff;">
<svg>
<rect x="70" y="50" rx="5" ry="5" width="500" height="10" fill="black" />
</svg>
</body>
</html>`
I have a reference to style.css that I will use later, but for now it remains blank
New contributor
Sakirarose is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
3