Hello everyone,
Here is my problem:
My index.html page has a background image that I want to place as the background image of the footer as well.
When I try to insert the background image, it just pushes the footer text downwards instead of going behind it like it’s supposed to! ![]()
Here is the html. I’m not sure whether you can see the problem based on this code. Since you’re looking at it, the page is also ridiculously wide!
Simple things I know, but I"m a novice and I 've learned it all following step- by- step guides. ![]()
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="keywords" content= />
<meta name="description" content="" />
<title>Name of Company</title>
<link href="css/stylesheet_index.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="favicon.ico" />
<!-- loads gallery lightbox script !-->
<script type="text/javascript" src="javascript/lytebox.js"></script>
<!-- loads gallery lightbox stylesheet !-->
<link rel="stylesheet" type="text/css" href="css/lytebox.css" media="screen" />
</head>
<body>
<img src="images/bg_splash.jpg" alt="background" longdesc="images/bg_splash.jpg" />
<div style="position:absolute; top:100px; left:50%; margin-left:-120px; font-family:Century Gothic, Helvetica, Arial; letter-spacing:5px; font-size:10pt; text-align:right;">
welcome to the website of ...<br />
<a href="about.html">ENTER</a></div>
</div>
<div class="footer">
<p>Insert footer content here.</p><br /><br /><span style="color:#FFF;">www.eva-toronto.com</span>
</div>
</body>
</html>
Here is the CSS
body {
margin:0px;
}
html {
margin:0px;
}
Thank you very much to anyone who takes a few minutes to read and respond to this. I appreciate your help.