My friend gave the domain squidward.us and I want to add this photo of squidward (http://cdn.pcwallart.com/images/squidward-wallpaper-1.jpg) onto the page. I have some HTML done but I want to have the background to be #c9e5d7 since the picture doesn't fit the entirety of the screen (Depending on what resolution you have it may fit). I want this picture to centered which means that it shouldn't be repeated. Also, instead of having white as the background, I have to have it be #c9e5d7 (Which is what I am having issues with). Here's my current HTML:
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: #c9e5d7 url("http://cdn.pcwallart.com/images/squidward-wallpaper-1.jpg");
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<p>Now the background image is only shown once, and it is also positioned away from the text.</p>
<p>In this example we have also added a margin on the right side, so that the background image will not disturb the text.</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<style>
body {
background-image: #c9e5d7 url("http://cdn.pcwallart.com/images/squidward-wallpaper-1.jpg");
background-repeat: no-repeat;
background-position: center;
background-attachment: fixed;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
<p>Now the background image is only shown once, and it is also positioned away from the text.</p>
<p>In this example we have also added a margin on the right side, so that the background image will not disturb the text.</p>
</body>
</html>
