Lovin' Alexei
05-11-2003, 07:42 PM
I used CSS for one section of the page, and it worked just great! So, I copied and pasted the code into the next section because I wanted to be the same, but it won't work.
<html>
<head>
<style type="text/css">
<!--
A:link { text-decoration: none; color:"#ffffff" }
A:visited { text-decoration: none; color:"#ffffff" }
A:hover { text-decoration: none; color:"#9966ff" }
<title>Please don't wake me if I'm dreaming...</title>
BODY {background-image: http://www.geocities.com/iciceangel/IceDreams/Layout.gif; background-repeat: no-repeat;background-position: 50% 50%}
-->
</style>
</head>
I'm trying to get the image centered in, but it's not working. Have I typed up the code wrong or something?
<html>
<head>
<style type="text/css">
<!--
A:link { text-decoration: none; color:"#ffffff" }
A:visited { text-decoration: none; color:"#ffffff" }
A:hover { text-decoration: none; color:"#9966ff" }
<title>Please don't wake me if I'm dreaming...</title>
BODY {background-image: http://www.geocities.com/iciceangel/IceDreams/Layout.gif; background-repeat: no-repeat;background-position: 50% 50%}
-->
</style>
</head>
I'm trying to get the image centered in, but it's not working. Have I typed up the code wrong or something?