Click to See Complete Forum and Search --> : LINK issue - Purple link
collegekrap
12-12-2008, 12:38 AM
Hey guys. I just added a background image to my website (www.collegekrap.com) and all the links went to the purple (default) border. I had it so the links were black and when you hover them they turn red. I do not understand what I am doing wrong.
THanks
<STYLE type=text/css>
body{background-image: url(/images/store_version1/background8.jpg);
A:active img { border : 1px solid black; }
a {color: #000}
a:hover {color: #d40000;}
.navbar { font-size : 9pt; font-family : "Trebuchet MS", Arial, Helvetica; color : #000000; background-color : #ffffff; }
</STYLE>
collegekrap
12-12-2008, 01:35 PM
it still did not work. I don't know what is going on. Also, it works when I go back to not having a background image. Here is the code before.
<STYLE type=text/css>
<!--
/* Style Sheet */
body {
margin : 0px 0px 0px 0px;
background-color:<ss:value source=$storeVersion.colorScheme.background/>;
}
A:link img{border:1px solid black}
A:visited img{border:1px solid black}
A:hover img{border:1px solid black}
A:active img{border:1px solid black}
a:link {color: #D40000;}
a:visited {color: #000000;}
a:hover {color: #D40000;
background-color: #ffffff;
text-decoration: none;}
a:active {color: #D40000;}
.navbar {font-size:9pt;font-family:<ss:value source=$font.paragraph.face/>
;color:#000000;background-color:#FFFFFF;}
-->
</STYLE>
cbVision
12-12-2008, 05:21 PM
Why would you post the "code before"
You said the code was working before. Post the bad code if you need help!
You're missing a curly-bracket, which pretty much negates any CSS following:
body{background-image: url(/images/store_version1/background8.jpg);}
A:active img { border : 1px solid black; } a {color: #000}
a:hover {color: #d40000;}
.navbar { font-size : 9pt; font-family : "Trebuchet MS", Arial, Helvetica; color : #000000; background-color : #ffffff; }
collegekrap
12-14-2008, 04:12 PM
thank you! You really helped!!!!