når jeg vil se side bliver den bare vist blank
HejNår jeg vil køre min kalender.aspx side får jeg bare vist en blanl side.
Spm.
- Hvorfor gør jeg det.
Ønske.
- Vil gerne have min kalender.aspx side til at køre sammen med en StyleSheet.css fil.
Kalender.aspx
...:KODE:...
<%@ Page Language="VB" AutoEventWireup="True" %>
<%@ Import Namespace="System.Web.UI.WebControls.Calendar" %>
<html>
<head>
<link rel="Stylesheet" type="text/css" href="StyleSheet.css" />
</head>
<body>
<form id="Form1" runat="server">
<asp:calendar
id="calDate"
cssclass="calendar"
selectionmode="Day"
runat="server"
visible="False"
nextprevformat="ShortMonth"
dayheaderstyle-cssclass="DayHeader"
daystyle-cssclass="Day"
nextprevstyle-cssclass="NextPrev"
othermonthdaystyle-cssclass="OtherMonthDay"
selecteddaystyle-cssclass="SelectedDay"
selectorstyle-cssclass="Selector"
titlestyle-cssclass="Title"
todaydaystyle-cssclass="TodayDay"
weekenddaystyle-cssclass="WeekendDay">
</asp:calendar>
</form>
</body>
</html>
StyleSheet.css
...:KODE:...
.calendar {
border-width: 1px !important;
border-style: solid !important;
border-color: #333333 !important;
border-collapse: collapse !important;
background-color: #06275C !important;
width: 180px;
}
.calendar table td {
background-color: #000066;
border-color: #06275C;
border-width: 1px;
border-style: solid;
color: #ffffff;
font-weight: bold;
font-size: 10px;
padding: 0px;
}
.calendar table td a:link,
.calendar table td a:active,
.calendar table td a:visited {
color: #ffcc00 !important;
font-size: 9px !important;
text-decoration: none;
}
.calendar table td a:hover {
color: #ffffff !important;
font-size: 9px !important;
text-decoration: none;
}
.calendar td {
font-family: Tahoma, Verdana;
font-size: 9px;
font-weight: bold;
background-color: #06275C !important;
padding: 2px;
}
.calendar .Selector {
}
.calendar .OtherMonthDay a {
color: #999999 !important;
}
.calendar .SelectedDay a {
font-weight: bold;
color: #333333 !important;
}
.calendar .Title {
background-color: #06275C;
border-color: Black;
border-width: 1px;
border-style: solid;
}
.calendar .NextPrev a:link,
.calendar .NextPrev a:active,
.calendar .NextPrev a:visited {
color: #ffcc00;
font-size: 9px;
font-weight: bold;
font-family: Tahoma, Verdana;
text-decoration: none;
}
.calendar .NextPrev a:hover {
color: #ffffff;
font-size: 9px;
font-weight: bold;
font-family: Tahoma, Verdana;
text-decoration: none;
}
.calendar .Selector {
}
.calendar .DayHeader {
text-align: center;
background-color: #eeeeee !important;
}
.calendar .Day {
text-align: center;
background-color: #eeeeee !important;
}
.calendar .WeekendDay {
text-align: center;
background-color: #eeeeee !important;
}
.calendar .OtherMonthDay {
text-align: center;
background-color: #eeeeee !important;
}
.calendar .TodayDay {
text-align: center;
background-color: #eeeeee !important;
}
.calendar .SelectedDay {
font-family: Tahoma, Verdana;
font-size: 9px;
text-align: center !important;
background-color: #cccccc !important;
border-width: 1px !important;
border-style: solid !important;
border-color: #333333 !important;
}
.calendar .Day a:link,
.calendar .Day a:active,
.calendar .Day a:visited,
.calendar .Today a:link,
.calendar .Today a:active,
.calendar .Today a:visited,
.calendar .WeekendDay a:link,
.calendar .WeekendDay a:active,
.calendar .WeekendDay a:visited {
font-family: Verdana;
font-size: 9px;
color: #333333 !important;
text-decoration: none;
}
.calendar .OtherMonthDay a:link,
.calendar .OtherMonthDay a:active,
.calendar .OtherMonthDay a:visited {
font-family: Verdana;
font-size: 9px;
color: #999999 !important;
text-decoration: none;
}
.calendar .Day a:hover,
.calendar .WeekendDay a:hover,
.calendar .OtherMonthDay a:hover {
font-family: Verdana;
font-size: 9px;
color: #cc3300 !important;
text-decoration: none;
}
.calendar .SelectedDay a:link,
.calendar .SelectedDay a:active,
.calendar .SelectedDay a:visited {
font-family: Verdana;
font-size: 9px;
color: #333333 !important;
text-decoration: none;
}
.calendar .SelectedDay a:hover {
font-family: Verdana;
font-size: 9px;
color: #cc3300 !important;
text-decoration: none;
}
Hi when i run my calendar.aspx site im just getting a blank site.
Why do it not show the calendar !?
Calendar.aspx