View Full Version : Css wont work


Jaide
08-28-2003, 12:10 PM
For some reason on the diary layout im making css wont work, i dont know if im doing something wrong, im only a beginner at all this so i dont really know. Heres the codes:

<head>
<P align=center>
<TABLE cellSpacing=0 cellPadding=0 width="60%" border=1><table border="3" bordercolor="#000000">
<TBODY>
<TR>
<TD>
<P><FONT style="BACKGROUND-COLOR: #ff9900"><img src="http://www.crh.noaa.gov/arx/images/sunset.jpg"></FONT><FONT
style="BACKGROUND-COLOR: #ff9900"
</FONT></P></TD></TR>
<TR>
<TD>
<font face="arial" size="1.5 #" color="#ff9900"><center><a href="index.html">current</a> <a href="older.html">archives</a> <a href="http://members.diaryland.com/edit/profile.phtml?user=pink-demin">profile</a> <a href="cast.html">cast</a> <a href="rings.html">rings</a> <a href="http://members.diaryland.com/edit/notes.phtml?user=pink-demin">notes</a> <a href="http://www.diaryland.com">diaryland</a><center></FONT></TD></TR>
<TR>
<TD>
<P>
<font face="arial" size="1.5 #" color="#000000">Diary entry here</FONT></P></TD></TR></TBODY></TABLE></P> A:link
text-decoration: underline; color:#ff9900;
A:visited
{ text-decoration: underline; color:#ff9900;}
A:active
{ text-decoration: underline; color:#000000;}
A:hover
{ text-decoration: underline; color:#000000;}

background-image: url(yourimage.gif);
background-color: #ffcc33;

cursor: crosshair;
cursor: url('yourdomain.com/cursor.ani');}

</style>

if you could help that would me great

flo
08-28-2003, 01:01 PM
You missed out this -

<style type=text/css>

Enter it between

</P> and A:link

Lissa
08-28-2003, 01:04 PM
<html>
<head>
<title></title>

<style type="text/css">

A:link
text-decoration: underline; color:#ff9900; }
A:visited
{ text-decoration: underline; color:#ff9900;}
A:active
{ text-decoration: underline; color:#000000;}
A:hover
{ text-decoration: underline; color:#000000;}

body
{ background-image: url(yourimage.gif);
background: #ffcc33;

cursor: crosshair;
cursor: url('yourdomain.com/cursor.ani');}

</style>

</head>
<body>
Stuff that appears on Web site goes here
</body>
</html>

You didn't specify an image for the cursor, you didn't specify an image for the background, and a few of these } were missing :D

Jaide
08-28-2003, 01:11 PM
thank you so much!