View Full Version : T R O U B L E


Stormx
05-09-2003, 04:19 PM
I am creating a background with y-repeat. I am using this code:

<style type="text/css">

<!--

A:link

{ text-decoration: none }

A:visited

{ text-decoration: none }

A:active

{ text-decoration: none }

A:hover

{ text-decoration: underline overline };color:#FF0000;



BODY {background-image: url(http://www.users.globalnet.co.uk/~timgale/gf/images/bar1.jpg); background-repeat: repeat-y;background-position: 0% 0%}

-->

</style>

However, the links work, but the background is not there. I must have done somthing wrong ion the code but i can't figure it out. Can you help?

lefty
05-09-2003, 04:32 PM
you have a random color tag hanging outside your hover tag... is that supposed to be a hover attribute? It's probably interfering with the body tag.

A:hover {text-decoration: underline overline; color:#FF0000; }

Elentari
05-09-2003, 04:35 PM
Try the following and make sure it's between the <HEAD></HEAD> tags of your page.

<style type="text/css">
<!--
A:link {
text-decoration: none;
}
A:visited {
text-decoration: none;
}
A:active {
text-decoration: none;
}
A:hover {
text-decoration: underline overline;
color:#FF0000;
}

BODY {
background-image: url(http://www.users.globalnet.co.uk/~timgale/gf/images/bar1.jpg);
background-repeat: repeat-y;
background-position: 0% 0%;
}
-->
</style>