Editing a Template With a Fixed Width

Some, but not all, Allwebco templates can be setup with a fixed overall width. We do not offer support for this but here are a few tips for this modification.

What templates do not work
Any template with a javascript drop menu (also see chrome models below) can not have a fixed width setup because of how the menu is located on the HTML pages. (templates with CSS drop menus include a menu.css file or files) Templates with part of the menu layered over the banner images can also usually not have fixed widths.

What to edit
To setup a fixed overall width on a template you will edit the first table width after the BODY tag in each HTML page. This table usually has a note indicating "OUTER TABLE" for the area of code to edit. Change the 100% to a fixed number like "750". It is not suggested that you go any wider than 750 pixels.

Chrome CSS drop menu EXAMPLE:
In a chrome template like the ExecChrome, ChromeTech or other chrome drop menu templates you will first set the date in your CSS file to be on the left side, then in each HTML page edit the following code:


<!-- OUTER PAGE TABLE-->
<table cellpadding="0" cellspacing="0" border="0" width="100%"><tr><td align="center" valign="top">


Edit the above code to the code below to add a border on the right side:


<!-- OUTER PAGE TABLE-->
<table cellpadding="0" cellspacing="0" border="0" width="750" style="border-right: #FF0000 1px solid;"><tr><td align="center" valign="top">


Centering option:
If you want to center the page you can add a <CENTER> tag and full border around like the following:


<!-- OUTER PAGE TABLE-->
<CENTER>
<table cellpadding="0" cellspacing="0" border="0" width="750" style="border: #FF0000 1px solid;" ><tr><td align="center" valign="top">


...and you can add a </CENTER> to close the table near the end of the page after the "OUTER PAGE TABLE" ends but just before the </BODY> </HTML> tags. This step is recommended but can be skipped.


For more details see the Resizing Template Tables support page.





Software for Editing:
Software Choices


Allwebco Template Support


Allwebco Website Template Support


See Also...
Table Widths
Table Margins
Fixed Page Width


HTML Websites
Lissa Explains it All