Re: server side includes
- From: "Ronx" <ronx917@xxxxxxxxxxx>
- Date: Thu, 14 Apr 2005 12:59:53 +0100
The code below contains many empty HTML tags, which will collapse in
some browsers.
example: <td></td>
It also contains some invalid HTML, such as
<td bgcolor="#000080" height="100%" width="1"><img alt=""
width="1" height="1" src="images/MsSpacer.gif"></td>
<blockquote>
</blockquote>
</tr>
The <blockquote>s should be removed.
As far as the navigation goes, remove the <blockquote>..</blockquote>
surrounding the nav buttons. This will give far more control over the
positioning using the containing table/cell width properties. The <p
align="center"> should ensure the buttons are centred in the cell.
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
"RSS" <RSS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7E2BC9AA-CBFE-4B22-BF58-AD9D7E0139F5@xxxxxxxxxxxxxxxx
> Thanks again. I put in the formatting and the navigation bar showed
> up in
> the browser! However, it did not show up in the right place. I am
> using a
> table format, could that have anything to do with it? On the
> navbar.htm page
> I included the table format with corresponding
> <table></table>,<tr></tr> and
> <td></td> tags. Should I have done that or just stick to the basic
> <html><head></head><body></body></html> tags? If I need to put in
> the table
> tags, do the cells in the pages that I want to insert navbar.htm
> into all
> have to be the same? (I have some pages that have more text then
> others,
> making the cells bigger.) (The changes that I made can't be seen
> because I
> don't have access to the server right now so I'll include it below)
> <html>
>
> <head>
> <meta http-equiv="Content-Type" content="text/html;
> charset=windows-1252"><meta name="author" content="Roslyn
> Selsky"><meta
> name="description" content="Scientists at the Connecticut
> Agricultural
> Experiment Station have begun to survey state lakes and ponds for
> invasive
> aquatic plants and to test various control options."><meta
> name="keywords"
> content="invasive, aquatic plant, lakes, Connecticut, weed
> management">
> <title>Aquatic Plant Survey Program</title>
> </head>
>
> <body style="background-attachment: fixed" bgcolor="#FFFFFF">
>
> <div align="left">
> <table border="0" cellpadding="0" cellspacing="0" width="800"
> height="1062">
> <!-- MSTableType="layout" -->
> <tr>
> <td></td>
> <td></td>
> <td height="8"></td>
> </tr>
> <tr>
> <td valign="top" colspan="2">
> <!-- MSCellType="ContentHead" -->
> <table cellpadding="0" cellspacing="0" border="0" width="100%"
> height="100%">
> <!-- MSCellFormattingTableID="2" -->
> <tr>
> <td valign="bottom" height="100%" width="100%">
> <!-- MSCellFormattingType="content" -->
> <p align="center">
> </p>
> <p align="center">
> </td>
> </tr>
> </table>
> </td>
> <td height="114"></td>
> </tr>
> <tr>
> <td msopnltype="NavBody" rowspan="2" width="136">
> <!-- MSCellType="NavBody" -->
> <table cellpadding="0" cellspacing="0" border="0" width="100%"
> height="100%">
> <!-- MSCellFormattingTableID="4" -->
> <tr>
> <td bgcolor="#000080" colspan="3" height="3">
> <img alt="" width="1" height="3" src="images/MsSpacer.gif"></td>
> </tr>
> <tr>
> <td bgcolor="#000080" width="1">
> <img alt="" width="1" height="1" src="images/MsSpacer.gif"></td>
> <td msopnltype="NavBody" valign="top" width="100%">
> <!-- MSCellFormattingType="content" -->
> <blockquote> <p align="center"> </p>
> <p align="center"><font size="2"><a href="#skip_navigation">Skip
> Navigation Links</a></font></p>
> <p align="center">
> <a href="index.htm">
> <img border="0" src="images/Home.jpg" width="127" height="32"
> alt="home"></a></p>
> <p align="center"><a href="program_info.htm">
> <img border="0" src="images/programinfo.jpg" width="127" height="32"
> alt="Program Information"></a></p>
> <p align="center">
> <a href="survey_results.htm"><img border="0"
> src="images/survey_results.jpg" width="127" height="32" alt="Survey
> Results"></a></p>
> <p align="center">
> <a href="control_studies.htm"><img border="0"
> src="images/control_studies.jpg" width="127" height="32"
> alt="Control
> Studies"></a></p>
> <p align="center">
> <a href="plant_des.htm"><img border="0" src="images/plant_des.jpg"
> width="127" height="32" alt="Plant Information"></a></p>
> <p align="center">
> <a href="publications.htm"><img border="0"
> src="images/publications.jpg" width="127" height="32"
> alt="Publications"></a></p>
> <p align="center"><a href="links.htm">
> <img border="0" src="images/links.jpg" width="127" height="32"
> alt="Links"></a></p>
> <p align="center">
> <img border="0" src="images/contact_us.jpg" width="127" height="32"
> alt="Contact Us"></p>
> <p align="center">
> <font size="2"><a href="site_map.htm">Site Map</a></font></p>
> <p align="center"> </td>
> <td bgcolor="#000080" height="100%" width="1">
> <img alt="" width="1" height="1" src="images/MsSpacer.gif"></td>
> </blockquote>
> </tr>
> </table>
> </td>
> <td valign="top" height="712">
> <!-- MSCellType="ContentBody" -->
> <table cellpadding="0" cellspacing="0" border="0" width="100%"
> height="100%">
> <!-- MSCellFormattingTableID="3" -->
> <tr>
> <td bgcolor="#000080" height="3">
> <img alt="" width="1" height="3" src="images/MsSpacer.gif"></td>
> </tr>
> <tr>
> <td valign="top" height="100%">
> <!-- MSCellFormattingType="content" -->
> </td>
> </tr>
> <tr>
> <td bgcolor="#000080" height="1" width="100%">
> <img alt="" width="1" height="1" src="images/MsSpacer.gif"></td>
> </tr>
> </table>
> </td>
> <td height="712"></td>
> </tr>
> <tr>
> <td valign="top" width="662">
> <!-- MSCellType="ContentFoot" -->
> <p align="center">
> <!--webbot
> bot="Include" endspan i-checksum="53128" --><p align="center">
> </td>
> <td height="228" width="2"></td>
> </tr>
> </table>
> </div>
>
> </body>
>
> </html>
>
> "Ronx" wrote:
>
>> Navbar.htm has been constructed as SSI file - it is lacking the
>> <html><head></head><body></body></html> tags, all of which are
>> required with appropriate content between them.
>> FP includes the content between the <body> </body> tags - if the
>> tags
>> are missing, there is no content between them, hence no navigation
>> is
>> displayed.
>>
>> --
>> Ron Symonds
>> Microsoft MVP (FrontPage)
>> Reply only to group - emails will be deleted unread.
>>
>>
>> "RSS" <RSS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:9E3C7A49-C7A5-4102-9C32-AD9F82EE453E@xxxxxxxxxxxxxxxx
>> >I did put the navigation bar in using FP's insert web component.
>> >It
>> >shows up
>> > in design and preview views but not in a browser or when
>> > published.
>> > Here is
>> > the site http://www.caes.state.ct.us/aplants/ The code for the
>> > included page
>> > shows up when you view the source in a browser. The only thing
>> > that
>> > looks
>> > wierd is that the checksum="0". I'm not sure what you mean about
>> > setting up
>> > the navbar properties to display. The navbar can be found at
>> > http://www.caes.state.ct.us/aplants/navbar.htm
>> >
>> > Thanks very much!
>> >
>> > "Ronx" wrote:
>> >
>> >> FrontPage includes are not Server Side Includes - SSI are
>> >> dynamic
>> >> in
>> >> that they are included in the page whenever a browser requests
>> >> the
>> >> page. FrontPage includes are included in the page whenever the
>> >> page
>> >> is saved in FrontPage. Trying to put the include in a page
>> >> outside
>> >> of
>> >> FrontPage is a wasted effort, allow FP to do the job it is
>> >> designed
>> >> to
>> >> do.
>> >> Use Insert->Web Component->Included Content->Page - Finish and
>> >> browse
>> >> to the page to be included. In Code view the included code will
>> >> not
>> >> be shown, but the content will be shown in Design and Preview.
>> >>
>> >> Are the navbar properties set up to display in the errant pages?
>> >> Please give a link to a page which has this problem.
>> >>
>> >> --
>> >> Ron Symonds
>> >> Microsoft MVP (FrontPage)
>> >> Reply only to group - emails will be deleted unread.
>> >>
>> >>
>> >> "RSS" <RSS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> >> news:2CDB9D05-889F-4B2E-81E2-56F78BC47526@xxxxxxxxxxxxxxxx
>> >> >I am having troble with FrontPage's server side includes
>> >> >(include
>> >> >pages). I
>> >> > made my navigation bar a server side include because it is on
>> >> > every
>> >> > page. I
>> >> > shows up in Frontpage's preview but not when I view it with a
>> >> > browser (tried
>> >> > multiple ones) or when I publish it. I tried to insert the
>> >> > code
>> >> > myself and I
>> >> > also had frontpage insert it with no luck. The code is
>> >> > inserted
>> >> > in
>> >> > the left
>> >> > most cell of the table format and is as follows: <!-- webbot
>> >> > bot="Include"
>> >> > U-Include="navbar.htm" TAG="body" -->
>> >> >
>> >> > I've also tried <!-- webbot bot="Include"
>> >> > U-Include="navbar.htm"
>> >> > TAG="body"
>> >> > startspan --> <!-- webbot bot="Include" i-checksum="2000"
>> >> > endspan -->
>> >> > (I looked up what checksum means and found that it is the
>> >> > number
>> >> > of
>> >> > bits
>> >> > that is being transmitted. Is this a correct deffinition?
>> >> > If
>> >> > my
>> >> > navbar.htm
>> >> > files is 2000 KB how many bits does it have?)
>> >> > Thanks very much!
>> >>
>> >>
>> >>
>>
>>
>>
.
- Follow-Ups:
- Re: server side includes
- From: RSS
- Re: server side includes
- References:
- server side includes
- From: RSS
- Re: server side includes
- From: Ronx
- Re: server side includes
- From: RSS
- Re: server side includes
- From: Ronx
- Re: server side includes
- From: RSS
- server side includes
- Prev by Date: One Text Box with Multiple Submit Buttons
- Next by Date: Re: One Text Box with Multiple Submit Buttons
- Previous by thread: Re: server side includes
- Next by thread: Re: server side includes
- Index(es):
Relevant Pages
|