View Full Version : Please help, i dont know whats wrong with my CSS code


PinkIce
06-29-2003, 06:09 PM
My CSS code isnt working well, whats wrong with it?

Here it the code


<html>
<style type="text/css">
<!--

A:link
{ text-decoration: value [none]; color:hotpink}
A:visited
{ text-decoration: value [none]; color:hotpink}
A:active
{ text-decoration: value [none]; color:hotpink}
A:hover
{ text-decoration: value [line-through]; color:hotpink;
background-color:#000000;
cursor:value [s-resize}
font-family:verdana;
color: hotpink ;
letter-spacing: value; [3pt]
font-weight:value; [normal]
font-size:value; [xx-small]
-->
</style>

Cherchezlafemme
06-29-2003, 06:24 PM
You're new to CSS aren't you? ;)


<html>
<head>
<style type="text/css">
<!--

A:link
{
text-decoration: none; color:hotpink}
A:visited
{
text-decoration: none; color:hotpink}
A:active
{
text-decoration: none; color:hotpink}
A:hover
{
text-decoration: line-through; color:hotpink;
}
BODY {
background-color:#000000;
cursor: s-resize;
font-family: verdana;
color: hotpink;
letter-spacing: 3px;
font-weight: normal;
font-size: 8pt;
-->
</style>



What's in bold you must replace with Hexadecimal colors. Like "#FFFFFF" go to lissa's site and go to the color section there is a number of colors to choose from that are hexadecimal

You can fix the font size if you want

pb&j
06-29-2003, 06:56 PM
as exampled by Cherchezlafemme, you have to fix your values.

change this...
text-decoration: value [none];

to this...
text-decoration: none;

CCLF also fixed your BODY css area in their response too.

the hotpink may work as is and might not have to be changed to its hex value. using the hex value for colors is a preferred method.

replace your current css with CCLF's example and that should actually fix your problem straight off.

Cherchezlafemme
06-29-2003, 07:00 PM
No, I have tried the code before I posted it. The "hotpink" doesn't work. But, you can get confused sometimes because "hotpink" and verbal colors work with some tags so it happens. PinkIce I would try the code I did for you and if you need anything else just ask! :)

I realized I made a mistake it's fixed here:

<html>
<head>
<style type="text/css">
<!--

A:link
{
text-decoration: none; color: hotpink;
}
A:visited
{
text-decoration: none; color: hotpink;
}
A:active
{
text-decoration: none; color: hotpink;
}
A:hover
{
text-decoration: line-through; color: hotpink;
}
BODY {
background-color:#000000;
cursor: s-resize;
font-family: verdana;
color: hotpink;
letter-spacing: 3px;
font-weight: normal;
font-size: 8pt;
-->
</style>



I forgot the semi-colons! But, still replace what's in bold

PinkIce
06-29-2003, 07:33 PM
thank u all so much, i dont know what i would do without this forum! hehe i will try the codes that u have given me

Cherchezlafemme
06-29-2003, 07:40 PM
You are very welcome PinkIce! :)