I want to stick a small image in the horizontal and vertical center of a page to serve in my home tab. I'm totally new at this and am not even sure whether I implemented this recommended CSS correctly. This is what the page's source code gets me in Firefox, even though it works perfectly when I switch to IE. Compiled in Programmer's notepad.
Thanks for any help!
Dave
<html>
<head>
<title>Homepage</title>
<link rel="icon"
type="image/png"
href="file:///C:/Users.....Home.png">
<style type="text/css">
body {
background: url("file:///C:/Users.....Firefox.png") 50% 50% no-repeat;
}
</style>
</head>
<body>
</body>
</html>Thanks for any help!
Dave

Help
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.



Back to top










