Currently, I am delving into the world of css and html as I attempt to teach myself the basics. To kick things off, I decided to create a stylesheet and divide it into various elements such as background images and cursor styles. The issue I'm facing is that after referencing the entire css file in my main html document, the application displays nothing but a blank screen. Can anyone point me in the right direction? Below you'll find a snippet of my code starting with the stylesheet.
html, body
{
overflow: auto;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#background
{
background-image: url("../Assets/Graphics/background.jpg");
background-color: #cccccc;
background-size: 100% 100%;
background-repeat: no-repeat;
opacity: 0.5;
}
#mycursor
{
cursor: url(../Assets/Graphics/cursor.cur), auto;
}
Next up, here's the snippet from the html file:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Destiny Saga</title>
<link rel="stylesheet" type="text/css" href="Style/style.css" />
<link rel="shortcut icon" type="image/x-icon" href="Assets/Graphics/title.ico" />
</head>
<body>
</body>
</html>