Hello, i am creating hyperlinks on the page below, and for some reason, they are coming out in red, and not the conventional blue
that i want. (Sorry about the code be in such a mess!)
Can anyone explain why this is the case?
Thanks in advance
Code:
<%
If Session("Username") = "" Then
Response.Redirect "Login.asp"
End If
%>
<HTML>
<HEAD>
<TITLE>Add an Event</TITLE>
</HEAD>
<STYLE>
TD.cal { font-family:arial; font-size: 8pt; }
TD.calmonth { font-family:arial; font-size: 8pt; text-align: right;}
TD.caltoday { font-family:arial; font-size: 8pt; text-align: right; color: white; background-color:#C0C0C0; border-width:1;
border-type:solid; border-color:#800000; }
A.textlink { font-family:arial; font-size: 8pt; height: 20px; color: black; }
.disabledtextlink { font-family:arial; font-size: 8pt; height: 20px; color: #808080; }
A.cal { text-decoration:none; color:#000000; }
A.calthismonth { text-decoration:none; color:#000000; }
A.calothermonth { text-decoration:none; color:#808080; }
.calnotclickable { color:#808080; }
A { COLOR: #cc0000; TEXT-DECORATION: none }
A:hover { TEXT-DECORATION: underline }
.style1 { FONT-WEIGHT: bold; FONT-SIZE: 10pt }
.style2 { COLOR: #ff8000 }
.style6 { FONT-SIZE: 8pt }
.style7 {color: #FF8000}
</STYLE>
<script src="calendar/AnchorPosition.js">
</script>
<script src="calendar/CalendarPopup.js">
</script>
<script src="calendar/PopupWindow.js">
</script>
<script src="calendar/functions.js">
</script>
<div name="calendar" id="calendar" style="LEFT: 0px; POSITION: absolute; TOP: 0px; background-color:#DDDDDD"></div>
<script>
var cal = new CalendarPopup('calendar');
cal.offsetX = 20;
cal.offsetY = 0;
cal.showYearNavigation();
function txtDate_fct(y,m,d)
{
document.all.txtDate.value=(d>9?d:"0"+d)+"/"+(m>9?m:"0"+m)+"/"+y
}
</script>
<BODY>
<body bgcolor="#99CCFF">
<div id="content">
<font face="Arial">
<input type="button" onClick="document.all.content.style.zoom=(document.all.content.style.zoom==1?2:1);" value="Change Font Size"><br>
</font>
<p align="center"><u><b><font size="7" face="Arial">Add an Event </font></b></u></p>
<p align="center"><font face="Arial"><a href="RegisteredUsersHome.asp">Home</a>
<a href="DiscussionBoard.asp">Discussion</a>
<a href="Feedback.asp">Feedback</a> <a href="Donations.asp">
Donation</a> <a href="NewsLetter.asp">Newsletter</a>
<a href="../sitemap.asp">Site Map</a> <a href="AboutUs.asp">
About Us</a> <a href="Links.asp">Other Links</a></font></p>
<p align="center"><font face="Arial"><a href="Events.asp">Forthcoming Events</a>
<a href="PastEvents.asp">Past Events</a>
<a href="EventReport.asp">Event Report</a>
<a href="EventSearch.asp">Event Search</a></font></p>
<p><font face="Arial"><BR>
As a registered user, you have the privilege of being able to organise your own events.<br>
Before organising an Event, please read our <a href="termsandconditions.asp#Events">Terms and Conditions</a>
</font></p>
<FORM ACTION = "addeventtodb.asp" METHOD= "post" >
<font face="Arial">Event Name <input type="text" name= "txtEventName" size="20"><BR>
Date <input type="text" name = "txtDate" size="20" readonly><A
onclick="cal.setReturnFunction('txtDate_fct');cal.showCalendar('anchor1');return false;" href="#" name=anchor1 id=anchor1><IMG
height=28 src="calendar/calendar.gif" width=43 border=0></a> (calander)<BR>
Time <input type="text" name = "txtTime" size="20"> enter in the format timePM<BR>
Location <input type="text" name = "txtLocation" size="20"><BR>
Details
<textarea name="txtDetails" col="40" rows="3" wrap="virtual" cols="20"></textarea> <BR>
Other Info
<textarea name="txtInfo" col="40" rows="3" wrap="virtual" cols="20"></textarea> <BR>
Username <input type="text" name = "txtUsername" size="20"><BR>
<INPUT TYPE="SUBMIT" VALUE="Submit">
<INPUT TYPE="RESET" VALUE="Clear"></font></form>
</body>
</html>