Created
August 4, 2015 18:20
-
-
Save dannylloyd/8bb3f497be30131539ed to your computer and use it in GitHub Desktop.
Aspx for calendar
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Calendar.aspx.vb" Inherits="Calendar" %> | |
| <!DOCTYPE html> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head runat="server"> | |
| <title></title> | |
| <style> | |
| div.calendar { | |
| font-family: sans-serif; | |
| font-size: 12px; | |
| } | |
| div.day{ | |
| float: left; | |
| width: 125px; | |
| height: 100px; | |
| border: solid 1px #A7A7A7; | |
| padding: 5px; | |
| margin: 0; | |
| border-right-width: 0; | |
| border-bottom-width: 0; | |
| } | |
| div.weekHeading { | |
| } | |
| div.dayOfWeek { | |
| font-weight: bold; | |
| text-align: center; | |
| float: left; | |
| width: 125px; | |
| padding: 5px; | |
| } | |
| div.day.dayOfWeek7{ | |
| border-right-width: 1px; | |
| } | |
| div.day.lastDayOfMonth{ | |
| border-bottom-width: 1px; | |
| border-right-width: 1px; | |
| } | |
| div.day.lastDayOfWeekOfMonth{ | |
| border-bottom-width: 1px; | |
| } | |
| div.week{ | |
| display: block; | |
| } | |
| div.day span.dateNumber { | |
| } | |
| /** | |
| * For modern browsers | |
| * 1. The space content is one way to avoid an Opera bug when the | |
| * contenteditable attribute is included anywhere else in the document. | |
| * Otherwise it causes space to appear at the top and bottom of elements | |
| * that are clearfixed. | |
| * 2. The use of `table` rather than `block` is only necessary if using | |
| * `:before` to contain the top-margins of child elements. | |
| */ | |
| .clearfix:before, | |
| .clearfix:after { | |
| content: " "; /* 1 */ | |
| display: table; /* 2 */ | |
| } | |
| .clearfix:after { | |
| clear: both; | |
| } | |
| /** | |
| * For IE 6/7 only | |
| * Include this rule to trigger hasLayout and contain floats. | |
| */ | |
| .clearfix { | |
| *zoom: 1; | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <form id="form1" runat="server"> | |
| <div class="calendar"> | |
| <asp:Literal ID="litCalendar" runat="server"></asp:Literal> | |
| </div> | |
| </form> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment