The code below showcases a basic HTML and CSS setup.
HTML
<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<link href="CSS/Smile.css" rel="stylesheet" type="text/css" />
</head>
<body>
this is a test
</body>
</html>
CSS
body
{
padding:0px;
margin:0px;
}
div
{
border:1px solid green;
}
Upon previewing the page in a browser, there is a visible green border underneath the text. An image representation of the issue can be seen here:
Question
What could possibly be causing this unexpected result?