PDA

View Full Version : List Mode Cell Spacing


matthewgorlando
06-29-2006, 09:56 AM
This is probably an easy question / easy answer situation, but for some reason I'm stumped. I'm using the monthly.php as the css for the list mode. I've been changing different values on different things to try to increase the spacing between the events, but I can't seem to find the right one. The few that I've tried and seemed to work also increased the amount of space before the list even starts (by a lot). So...which setting should I change in monthly.php to increase the spacing between the events?

Brian
06-29-2006, 11:10 AM
Can you add an extra <br> in the template after an event?

matthewgorlando
06-29-2006, 11:51 AM
Tried that, it didn't work.

Brian
06-29-2006, 12:50 PM
Did you try "requiring" the calendar using the Integration instructions? They way you're including the demo.php file could cause issues.

matthewgorlando
06-29-2006, 12:54 PM
<HTML>
<?php $CSS=1; require("calendar/calendar.php"); ?>
<HEAD>


<?php $OL=1; require("calendar/calendar.php"); ?>

<?php require("calendar/plugins/filter.php"); ?>
<p>
<!-- Calendar TOC -->
<?php $TOC=1; require ("calendar/calendar.php"); ?>
</p>
<p>
</td></tr><tr><td vAlign=top>
<!-- Calendar List Mode -->
<?php $LIST=1; $DF = "D, M d"; $template="monthly.php"; require ("calendar/calendar.php"); ?>
<p>



Above is what I have in the main page. Something there could be causing a problem?

Brian
06-29-2006, 01:45 PM
Sorry, I thought I was replying to another post. :tounge_sm

Can you link to your page and detail what you need to do (or a mocked up screenshot)?

matthewgorlando
06-29-2006, 02:05 PM
A screen shot can be found here:

www.matthewgorlando.com/cal.jpg (http://www.matthewgorlando.com/cal.jpg)

matthewgorlando
06-29-2006, 02:46 PM
I got it. I just added more empty rows to the table:

<tr>
<td align="left" valign="top" bgcolor="#EBF2FA" class="tableDate">[date]<br><span class="tableTime">[time]</span></td>
<td align="left" valign="top" bgcolor="#FFFDF2" class="tableCategory s2[category]">&nbsp;</td>
<td align="left" valign="top" bgcolor="#FFFDF2" class="tableTitle" [mouseover]>[title]<br>
<span class="tableDescr">[categories][descr]</span></td>
</tr>
<tr></tr>
<tr></tr>
<tr></tr>
<tr></tr>