There is a problem with template, Do you mind having a look please?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
leet8845
Forum Members
Forum Members
Posts: 40
Joined: Tue Jul 10, 2007 5:53 pm

There is a problem with template, Do you mind having a look please?

Post by leet8845 »

Hi there,

I have created mu own template for my CMSMS site.

Everything works fine except for the width of the content area wont stop expanding out, rather than moving onto the next line(i have set the area size for table the conent area is seated in but it still expands).

See my problem here http://www.ealliance.co.uk/ . This is causing the whole page to mess up as you willl see. My template code is below:

Code: Select all

<head>
<title>The Entrepreneurial Alliance - entrepreneurs discussion</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

<!-- include stylesheets -->
<style type="text/css">
<!--
body {
	background-color: #FFFFFF;
}
-->
</style>
{stylesheet}
<!-- well call this here so that everything is available later on -->
{cms_module module=CustomContent}                                            


</head>
</__body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (design4.psd) -->
<table width="729" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="401" bgcolor="#FFFFFF" ><img src="e ailliance/e-alliance/design2 copy.jpg" width="760" height="91"></th>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="401" align="center" bgcolor="#386398" > </th>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="159" bgcolor="#E2EBF4" ><div id="menu_vert" style="width:159;" align="left">
      <p>
        <!--customContent: startif group=admin,members,manager,senior members -->
        <!-- show everything -->
        {menu template='cssmenu.tpl' collapse='1'}
        <!--customContent: else -->
        <!-- only show selected -->
        {menu template='cssmenu.tpl' collapse='1' includeprefix='pub-'}
        <!--customContent: endif -->
      <p>  </p>
    </div></th>
    <th width="588" valign="top" bgcolor="#FFFFFF" ><table width="100%" height="100%" border="0" cellpadding="2" cellspacing="0">
      <tr>
        <th width="436" height="153" align="left" valign="top" bgcolor="#FFFFFF" >{content}</th>
      </tr>
    </table></th>
    <th width="13" valign="top" bgcolor="#E2EBF4" > </th>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <th width="401" bgcolor="#386398" > </th>
  </tr>
</table>
<!-- End ImageReady Slices -->
<__body>
</__html>

Any help truly appreciated.

Lee
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: There is a problem with template, Do you mind having a look please?

Post by Dr.CSS »

If you used the Default install template, iirc it's Left simple navigation + 1 column which has a CSS/Div layout that is easier to make it do what you want...
Post Reply

Return to “Layout and Design (CSS & HTML)”