changing the height of te content table

About the template and stylesheet - and changing the menu
Post Reply
roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

changing the height of te content table

Post by roze » Tue Dec 02, 2008 8:41 pm

I have a changed several things in the template of my website: http://www.fysiovisie.nl

However the content table is to short. How kan I increase the height. I've tried many things in the template but not yet found it.

The template is:

Code: Select all

<?php
/*
CMSimple version 2.4 - February 27. 2005
Small - simple - smart
© 1999-2005 Peter Andreas Harteg - peter@harteg.dk
##################################################################################
# this template for cmsimple.dk was downloaded from www.cmsimple-styles.com      #
#--------------------------------------------------------------------------------#
# please do not remove the links on the template!                                #
# if you want to remove them, buy a template license!                            #
# please visit www.cmsimple-styles.com for more information.                     #
##################################################################################
This program is free software; you can redistribute it and/or modify it under the terms of the Affero General Public License (AGPL) as published by Affero, Inc. version 1. All files in the CMSimple distribution (except other language files than English and Danish) are covered by this license.
IMPORTANT NOTICE: As covered by the AGPL Section 2(d), the "Powered by CMSimple"-link to cmsimple.dk must under no circumstances be removed from pages generated by this program (except in print facility). If you want to remove or hide this link from your pages, you must purchase CMSimple under a commercial license. This also applies testing purposes and setup at an intranet or internal network.
Please be aware, that the AGPL in Section 2(d) requires, that any modified version of the program runned public (ie. on the Internet) must have an additional download facility for the modified version. This also applies to any modification of the template. Therefore you should purchase a commercial license, if you do not want the design of your internet site to fall under the AGPL license.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the AGPL for more details.
A copy of the Affero General Public License is available at http://www.cmsimple.dk/?License:AGPL, if not, write to Affero, Inc., 510 Third Street, Suite 225, San Francisco, CA 94107 USA.
This copyright note must under no circumstances be removed from this file and any distribution of code covered by this license.
For further information about this license and how to purchase a commercial license, please see http://www.cmsimple.dk/?License
For downloads and information about installation, please see http://www.cmsimple.dk
*/
?>
<html>
<head>
<?php echo head();?> 
<link rel="stylesheet" href="./jax_calendar/css/default.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#CCCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="wall"<?php echo onload();?>>
<a name="top"></a> 
<!--Siteheading-->
<?php include "headerflash.inc.php"?>
<table width="100%" height="90%" border="0">
  <tr> 
    <td> 
      <!-- innere tabelle -->
      <div align="center"> 
        <table height="460" border="0" cellpadding="0" cellspacing="0" class="rahmen">
          <tr> 
            <td height="460">
<table width="100%" height="460" border="0" align="center" cellpadding="0" cellspacing="0">
                <tr> 
                  <td height="110" colspan="2" valign="top"> <table width="100%" height="90" border="0" align="center" cellpadding="10" cellspacing="0">
                      <tr> 
                        <td class="sitename"><table border="0">
                            <tr> 
                              <td><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="66">
                                  <param name="movie" value="<?php echo $pth['folder']['template']?>sitetitle.swf?kLogoText=<?php echo $cf['site']['title'];?>">
                                  <param name="quality" value="high">
                                  <param name="wmode" value="transparent">
                                  <param name="menu" value="false">
                                  <param name="SCALE" value="exactfit">
                                  <embed src="<?php echo $pth['folder']['template']?>sitetitle.swf?kLogoText=<?php echo $cf['site']['title'];?>" width="500" height="66" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent" menu="false" scale="exactfit"></embed></object></td>
                            </tr>
                          </table></td>
                        <td valign="top" align="right"> <table align="center" width="100%" border="0" cellpadding="10" cellspacing="0">
                            <tr> 
                              <td valign="top" align="right" class="searchbox"> 
                                <?php echo searchbox();?> </td> </tr>
                          </table>
                           
                          <font size="1">design    <a href="http://www.cmsimple-styles.com" target="_blank">cmsimple-styles.com </a></font></td>
                      </tr>
                    </table>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td width="200" class="locator"> <div class="date"> 
                            <?php
$datum=time();
$wtag=date("l", $datum);
if ($wtag=="Monday") $tag="Maandag";
elseif ($wtag=="Tuesday") $tag="Dinsdag";
elseif ($wtag=="Wednesday") $tag="Woensdag";
elseif ($wtag=="Thursday") $tag="Donderdag";
elseif ($wtag=="Friday") $tag="Vrijdag";
elseif ($wtag=="Saturday") $tag="Zaterdag";
elseif ($wtag=="Sunday") $tag="Zondag";
$month=date("F", $datum);
if ($month=="January") $monat="Januari";
elseif ($month=="February") $monat="Februari";
elseif ($month=="March") $monat="Maart";
elseif ($month=="April") $monat="April";
elseif ($month=="May") $monat="Mei";
elseif ($month=="June") $monat="Juni";
elseif ($month=="July") $monat="Juli";
elseif ($month=="August") $monat="Augustus";
elseif ($month=="September") $monat="September";
elseif ($month=="October") $monat="Oktober";
elseif ($month=="November") $monat="November";
elseif ($month=="December") $monat="December";
echo "$tag, ".date("d",$datum).". $monat ".date("Y",$datum)."";
?>
                          </div></td>
                        <td class="locator"><?php echo locator();?></td>
                      </tr>
                    </table></td>
                </tr>
                <tr> 
                  <td width="250" height="274" valign="top"> <table width="240" border="0" align="center" cellpadding="5" cellspacing="0" class="content">
                      <tr> 
                        <td valign="top"> <?php echo toc();?> </td>
                      </tr>
                      <tr> 
                        <td valign="top" class="menu"><?php echo sitemaplink();?></td>
                      </tr>
                      <tr> 
                        <td valign="top" class="menu"><?php echo printlink();?></td>
                      </tr>
                      <tr> 
                        <td valign="top" class="menu"><?php echo mailformlink();?></td>
                      </tr><tr><td valign="top" class="menu"><a href="index.php?Gastenboek">Gastenboek</a></td></tr><tr>
<td valign="top" class="menu"><img src="http://www.fysiovisie.nl/images/Fysiovisie.gif" border="10"><br><br><br><br><br><br></td> 
</tr>
                      <tr> 
                        <td valign="top" class="menu"><?php echo guestbooklink();?></td>
                      </tr>
                      <tr> 
                        <td valign="top" class="menu"><?php echo languagemenu();?></td>
                      </tr>
                      <tr> 
                        <td valign="top" class="menu"><?php echo loginlink();?></td>
                      </tr>
                      <tr> 
                        <td valign="top" class="menu"><p> </p>
                          <?php echo lastupdate();?></td>
                      </tr><tr>
<td valign="top" class="menu">Webmaster: <a href="http://www.praktijkdommelen.nl/?Ons_team:Rob_Zeijen:Webmaster"target=_blank"class="navigator"> Rob Zeijen <br></td> 
</tr>
                    </table>
                    
                  </td>
                  <td width="750" valign="top"> 
<div class="content2"><?php echo editmenu();?><?php echo content();?><?php echo submenu();?></div>
                  </td>
                </tr>
                <tr>
                  <td align="center" class="navigator"> 
                    <!-- YOU ARE NOT ALLOWED TO REMOVE OR HIDE THIS LINK -->
                    <p>powered by <a href="http://www.cmsimple.dk/" target="_blank" class="navigator">CMSimple.dk<br>
                      </a> 
                      <!-- IF REMOVE: Pay for a license - see http://www.2bdesign.de -->
                    </p></td>
                  <td valign="top"> <table border="0" align="right" cellpadding="5" cellspacing="0">
                      <tr> 
                        <td class="navigator" valign="top"> <?php echo previouspage();?> 
                        </td>
                        <td align="center" class="navigator" valign="top"> <a href="#top" class="navigator"><?php echo top();?></a> 
                        </td>
                        <td align="right" class="navigator" valign="top"> <?php echo nextpage();?> 
                        </td>
                      </tr>
                    </table></td>
                </tr>
              </table></td>
          </tr>
        </table>
      </div>
      <!-- innere tabelle ende -->
    </td>
  </tr>
</table>
<script language="JavaScript" type="text/javascript" src="<?php echo $pth['folder']['template']?>activateflash.js"></script>
</body>
</html>
Rob Zeijen,

Valkenswaard (NL)

mvwd
Posts: 299
Joined: Tue Jun 17, 2008 10:35 pm
Location: Baden Württemberg / Germany
Contact:

Re: changing the height of te content table

Post by mvwd » Wed Dec 03, 2008 7:24 am

Hi,

this is a parameter in the stylesheet of your template. Have a look at 'stylesheet.css' in folder 'simplo3'. It's also accessible through admin-panel.

.content2 {
overflow: auto;
height: 400px;
padding: 10px;
margin-right: 5px;
border: 1px solid #8CB6C1;
background-color: #FFFFFF;
}

mvwd.

roze
Posts: 270
Joined: Tue Jun 03, 2008 7:13 am
Location: NL
Contact:

Re: changing the height of te content table

Post by roze » Thu Dec 04, 2008 10:47 pm

Thank you!

it works.
Rob Zeijen,

Valkenswaard (NL)

Post Reply