View Full Version : Uh Ohhh!!!!


AngeLofPeAcE
05-01-2003, 01:17 AM
HI! im not sure where this should be posted....im dorry if it is in the wrong spot but please help me anyway~~!!! ok... im trying to make my links fade but its not working. im using geocities and the page builder. i uploaded the file, and unzipped it. but the links i made using page builder dont change dont change. i have an html pop up link code and that changes. so i tried making my links out of html , and that worked. but now... i dont now how to change the starting color of the link.... click here: www.geocities.com/bst2009/uhoh.html to see what i mean....

i used this first code for my html links

<HTML>
<HEAD>
<STYLE type="text/css">
<!--
A { text-decoration:COLOR="green" }
-->
</STYLE>
</HEAD>
<BODY>
<P>
<A HREF="blinkies.html">Blinkies</A>
<P>
<A HREF="http://www.javascriptcity.com">JavaScript City</A>
<P>
<A HREF="http://www.pageresource.com/html/">HTML Pit Stop</A>
</BODY>
</HTML>



PLEASE HELP ME......

Elentari
05-01-2003, 01:30 AM
The proper CSS code for changing the colour of your links is as follows...

A : Link {
text-decoration: none;
color:green;
}

AngeLofPeAcE
05-01-2003, 01:48 AM
so change it to this???? ::::

<HTML>
<HEAD>
<STYLE type="text/css">
<!--
A : Link {
text-decoration: none;
color:#FFCCFF;
}
-->
</STYLE>
</HEAD>
<BODY>
<P>
<A HREF="blinkies.html">Blinkies</A>
<P>
<A HREF="http://www.javascriptcity.com">JavaScript City</A>
<P>
<A HREF="http://www.pageresource.com/html/">HTML Pit Stop</A>
</BODY>
</HTML>


i tried its not working

Elentari
05-01-2003, 02:03 AM
Try it exactly like this...


<HTML>
<HEAD>

<STYLE type="text/css">
<!--
A:Link {
text-decoration: none;
color:#FFCCFF;
}
-->
</STYLE>
</HEAD>

<BODY>
<P>
<A HREF="blinkies.html">Blinkies</A>
<P>
<A HREF="http://www.javascriptcity.com">JavaScript City</A>
<P>
<A HREF="http://www.pageresource.com/html/">HTML Pit Stop</A>
</BODY>
</HTML>


The problem was that there should be no space between A:Link ........my fault, sorry. Though it's a perfect example of how even stupid little things can screw up code.

AngeLofPeAcE
05-01-2003, 03:24 AM
lol kk....thanks a lot! :)

AngeLofPeAcE
05-01-2003, 03:31 AM
ooo one more thing :-D how would i make the links appear wihout the spaces in between??? i tried taking away the <P> but that made it go right next to eachother. i want it under each other :) thanks for your help

starlet
05-01-2003, 04:03 AM
<br /> maybe is what you are looking for.

AngeLofPeAcE
05-02-2003, 01:04 AM
ok thanks everyone but now somethin else :-D! this is the code currently being used....

<HTML>
<HEAD>

<STYLE type="text/css">
<!--
A:Link {
text-decoration: none;
color:#FFCCFF;
}
-->
</STYLE>
</HEAD>

<BODY>
<P>
<A HREF="blinkies.html">Blinkies</A>
<P>
<A HREF="http://www.javascriptcity.com">JavaScript City</A>
<P>
<A HREF="http://www.pageresource.com/html/">HTML Pit Stop</A>
</BODY>
</HTML>



now though....when you click it, it has a underline, anddd its red...how to fix that? i tried doing this....

<HTML>
<HEAD>
<STYLE type="text/css">
<!--
A:Link {
text-decoration: none;
color:#FFCCFF;
}
V:Link{ text-decoration: none; }
-->
</STYLE>
</HEAD>
<BODY>
<P>
<A HREF="http://www.pageresource.com">The Web Design Resource</A>
<P>
<A HREF="http://www.javascriptcity.com">JavaScript City</A>
<P>
<A HREF="http://www.pageresource.com/html/">HTML Pit Stop</A>
</BODY>
</HTML>


but it not work. did i do it right?

Xiphias
05-02-2003, 01:19 AM
here's the correct coding:


<html>
<head>
<title>SITE TITLE HERE</title>
<style type="text/css">
<!--
a:link, a:visited, a:active, a:hover {
text-decoration: none;
color:#FFCCFF; }
-->
</style>
</head>

<body>
<p><a href="blinkies.html">Blinkies</a></p>
<p><a href="http://www.javascriptcity.com">JavaScript City</a></p>
<p><a href="http://www.pageresource.com/html/">HTML Pit Stop</a></p>
</body>
</html>


I corrected all coding errors that may cause it to not show up in some browsers :)

AngeLofPeAcE
05-02-2003, 01:34 AM
ooohhhh! thanks a lot!