Jump to content

Recommended Posts

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>SARCM Event Calendar</title>
<style>
html {
font-size: 62.5%; }
body {
font: 1.2em/1.3 Arial, Helvetica, sans-serif;
background-color: #cef;
padding: 2em 0 0 2em; }
background: url(../Pictures_Other/background.jpg) fixed no-repeat 50% 50%;
h1 {
font-size: 2.5em;
margin-left: 163px; }
h2 {
font-size: 2.0em;
margin-left: 276px; }
#calendar {
margin: 0;
padding: 0;
width: 700px;
border: 2px solid #333;
background-color: #ddd; }
#calendar li {
list-style-position: inside;
font-weight: bold;
width: 88px;
height: 88px;
border: 1px solid #999;
float: left;
background-color: #fff;
padding: 5px;
overflow: hidden; }
#calendar li:hover {
overflow: visible; }
#calendar li ul {
margin: 0;
padding: 0;
clear: both; }
#calendar li ul li {
list-style: none;
font-weight: normal;
float: none;
border: none;
padding: 5px 0;
margin: 0; }
#calendar li:hover ul li, #calendar li.hover ul li {
position: absolute;
width: 150px;
margin-left: -38px;
height: auto;
background-color: #8cf;
border: 1px solid #069;
padding: 10px;
z-index: 10; }
#calendar li.sunday {
margin-left: 0; }
#calendar li.monday {
margin-left: 100px; }
#calendar li.tuesday {
margin-left: 200px; }
#calendar li.wednesday {
margin-left: 300px; }
#calendar li.thursday {
margin-left: 400px; }
#calendar li.friday {
margin-left: 500px; }
#calendar li.saturday {
margin-left: 600px; }
.clear {
clear: both; }
#head4 {
font-size: 30px;
margin-left: 170px; }
#head1 {
font-size: 20px;
margin-left: 103px; }
#head2 {
font-size: 30px;
margin-left: 38px; }
#head3 {
font-size: 20px;
margin-left: 40px; }
</style>
<!-- *********************************************************************-->
</head>
<body>
<h2>January 2013</h2>
<!-- ******************* Days of Week ******************** -->
<table style="text-align: left; height: 100%; background-color: rgb(128, 200, 254);" border="1" cellpadding="2" cellspacing="2">
<tbody>
<tr>
 <td style="width: 92px; vertical-align: top;"><center><strong>SUN</strong></center></td>
 <td style="width: 92px; vertical-align: top;"><center><strong>MON</strong></center></td>
 <td style="width: 92px; vertical-align: top;"><center><strong>TUE</strong></center></td>
 <td style="width: 92px; vertical-align: top;"><center><strong>WED</strong></center></td>
 <td style="width: 92px; vertical-align: top;"><center><strong>THUR</strong></center></td>
 <td style="width: 92px; vertical-align: top;"><center><strong>FRI</strong></center></td>
 <td style="width: 92px; vertical-align: top;"><center><strong>SAT</strong></center></td>
</tr>
</tbody>
</table>
<ol id="calendar">
<li class="tuesday">New Years Day</li>			
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li>
<ul>
<li>Club meeting at the field. 12:30 PM. Food and drinks.</li>
</ul>
</li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li>
<ul>
<li>1/19/2013 - 1/20/2013 -- Auburn, AL (C) WARBIRDS OVER EAST ALABAMA. Site: Club Field. Roger Sailors CD PH: 334-707-3387 Email: fwman190@knology.net. Visit: www.rcflightdeck.com. Restricted to Giant Warbirds in Military or Civilian paint. Open flying format. No events, no awards, 80' Mono, 60' Multiwing minimums. $20 entry fee for entire event. AMA required. Flying 9-4 CDT all days. (Open til dark) RV parking/camping, no hook ups....FREE Sponsor: AUBURN PLANESMEN RC
</li>
</ul>
</li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<li> </li>
<div class="clear"></div>
</ol>
</body>
</html>

 

The info shown for 1/19 looks pretty tacky because it overflows the given space. The hover info display is ok.

Is there any way to limit the amount of info initially shown in the column for 1/19 and still show all the

info on hover?

 

I know there are other ways to do the calendar but this is the easiest for me. I am not that good at javascript.

Link to comment
https://forums.phpfreaks.com/topic/274572-tacky-looking-calendar/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.