/    Sign up×
Community /Pin to ProfileBookmark

LINK issue – Purple link

Hey guys. I just added a background image to my website ([url]www.collegekrap.com[/url]) 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

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@KDLADec 12.2008 — <i>
</i>&lt;STYLE type=text/css&gt;
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; }
&lt;/STYLE&gt;
Copy linkTweet thisAlerts:
@collegekrapauthorDec 12.2008 — 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>
Copy linkTweet thisAlerts:
@cbVisionDec 12.2008 — Why would you post the "code before"

You said the code was working before. Post the bad code if you need help!
Copy linkTweet thisAlerts:
@KDLADec 12.2008 — You're missing a curly-bracket, which pretty much negates any CSS following:
<i>
</i>body{background-image: url(/images/store_version1/background8.jpg);[COLOR="Red"]}[/COLOR]
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; }
Copy linkTweet thisAlerts:
@collegekrapauthorDec 14.2008 — thank you! You really helped!!!!
×

Success!

Help @collegekrap spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...