Mixing Shared Borders With Tables for layout

J

John Hogue Jr.

Whereas I want only the top 3 rows of my whole-page table
to be included in my Top Shared Border, the entire Table
seems to be included. Can I define after-the-fact
specific rows/columns of a table to be included in Shared
Borders, or, do I have to first define my shared borders
before I introduce the Table?
 
J

Jim Buyens

-----Original Message-----
Whereas I want only the top 3 rows of my whole-page table
to be included in my Top Shared Border, the entire Table
seems to be included. Can I define after-the-fact
specific rows/columns of a table to be included in Shared
Borders, or, do I have to first define my shared borders
before I introduce the Table?

You can't begin a table in a top shared border and then
continue it in the body of the Web page. The closest
approximation would be to create two tables: one in the
top shared border and one in the body of the page.

If column alignment is critical, you may need to put your
column heading rows in a separate file, and then SSI-
include it. The file containing the headings would have no
<html>, <head>, <body>, or <table> tags: just <tr> through
</tr> and any intervening table cells. Then, you would
have to manually add the following statement after the
<table> tag in each page.

<!-- #include file="path/file.inc" -->

whre path/file.inc is the relative path and filename of
the file you want to include. Here's an example:

<table>
<!-- #include file="path/file.inc" -->
<tr>
<td>Detail</td>
<td>One</td>
</tr>

You might also have success creating a Web page containing
the contents of each column heading, and then adding
Include Page components to a table layout in each page.

Or, if the content is really that repetitions, put the
variable information in a database and then create one ASP
or ASP.NET page to query and display any set of content
you want.

Jim Buyens
Microsoft FrontPage MVP
[email protected]
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*

</table>
 
J

John Hogue Jr.

-----Original Message-----

You can't begin a table in a top shared border and then
continue it in the body of the Web page. The closest
approximation would be to create two tables: one in the
top shared border and one in the body of the page.

If column alignment is critical, you may need to put your
column heading rows in a separate file, and then SSI-
include it. The file containing the headings would have no
<html>, <head>, <body>, or <table> tags: just <tr> through
</tr> and any intervening table cells. Then, you would
have to manually add the following statement after the
<table> tag in each page.

<!-- #include file="path/file.inc" -->

whre path/file.inc is the relative path and filename of
the file you want to include. Here's an example:

<table>
<!-- #include file="path/file.inc" -->
<tr>
<td>Detail</td>
<td>One</td>
</tr>

You might also have success creating a Web page containing
the contents of each column heading, and then adding
Include Page components to a table layout in each page.

Or, if the content is really that repetitions, put the
variable information in a database and then create one ASP
or ASP.NET page to query and display any set of content
you want.

Jim Buyens
Microsoft FrontPage MVP
[email protected]
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*

</table>
.
<script language="JavaScript">
<!--

window.open = SymRealWinOpen;

//-->
</script>

Jim, I was afraid of, but not surprised by, that
response. So, can I "retro" the site or I am better off
starting from scratch? Would the following Retro approach
caused more problems beyond the time saved? Retro the
Main/Default/Index Page: 1. Copy & Delete table cells that
I do not want repeating as part of the Shared Borders; 2.
Insert a table outside the shared border area into which I
paste the cells (or just the cell info) that I do not want
repeated on every page.
 
Top