PC Review


Reply
Thread Tools Rate Thread

Content of table cell not being displayed

 
 
=?Utf-8?B?SmltIEhhbms=?=
Guest
Posts: n/a
 
      30th Mar 2005
I am developing a new web site that has several spec sheets. Each spec sheet
has a table with multiple cells. When I store a small button image in one of
the cells of this table, it looks fine in the Design View of FrontPage 2003
but when I Preview this page the button image is not displayed. (It is also
not being displayed in IE6.)
I looked at the HTML code in this table cell and it includes the following:

<td valign="top" width="68"><!--[if gte mso 9]> <p align="center"
style="margin-top: 0; margin-bottom: 0"> <img border="0" src="button.gif"
width="68"><![endif]--></td>

If I remove the HTML <!--[if gte mso 9]> and the <![endif]--> statements,
the button image displays just fine.

What does is this if and endif code code do, and how is it being created?
Any help will be most appreciated.
Jim
 
Reply With Quote
 
 
 
 
=?Utf-8?B?SmltIEJ1eWVucw==?=
Guest
Posts: n/a
 
      30th Mar 2005
The <!--[if gte mso 9]> and <![endif]--> tags mark content preserved for use
by MS Word or MS Excel, but that the browser shouldn't display. In your case,
I'd recommend just switching into Code view and removing them.

To stop generating such tags, stop using Word or Excel to edit Web pages.

For additional background, browse:

http://office.microsoft.com/en-us/as...549981033.aspx

http://office.microsoft.com/en-us/as...552491033.aspx

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


"Jim Hank" wrote:

> I am developing a new web site that has several spec sheets. Each spec sheet
> has a table with multiple cells. When I store a small button image in one of
> the cells of this table, it looks fine in the Design View of FrontPage 2003
> but when I Preview this page the button image is not displayed. (It is also
> not being displayed in IE6.)
> I looked at the HTML code in this table cell and it includes the following:
>
> <td valign="top" width="68"><!--[if gte mso 9]> <p align="center"
> style="margin-top: 0; margin-bottom: 0"> <img border="0" src="button.gif"
> width="68"><![endif]--></td>
>
> If I remove the HTML <!--[if gte mso 9]> and the <![endif]--> statements,
> the button image displays just fine.
>
> What does is this if and endif code code do, and how is it being created?
> Any help will be most appreciated.
> Jim

 
Reply With Quote
 
=?Utf-8?B?SmltIEhhbms=?=
Guest
Posts: n/a
 
      30th Mar 2005
Thanks. I read these articles and they answered the "How" question. I will
manually remove these HTML statements.
Thanks,
Jim

"Jim Buyens" wrote:

> The <!--[if gte mso 9]> and <![endif]--> tags mark content preserved for use
> by MS Word or MS Excel, but that the browser shouldn't display. In your case,
> I'd recommend just switching into Code view and removing them.
>
> To stop generating such tags, stop using Word or Excel to edit Web pages.
>
> For additional background, browse:
>
> http://office.microsoft.com/en-us/as...549981033.aspx
>
> http://office.microsoft.com/en-us/as...552491033.aspx
>
> Jim Buyens
> Microsoft MVP
> http://www.interlacken.com
> Author of:
> *----------------------------------------------------
> |\---------------------------------------------------
> || Microsoft Windows SharePoint Services Inside Out
> || Microsoft Office FrontPage 2003 Inside Out
> ||---------------------------------------------------
> || Web Database Development Step by Step .NET Edition
> || Microsoft FrontPage Version 2002 Inside Out
> || Faster Smarter Beginning Programming
> || (All from Microsoft Press)
> |/---------------------------------------------------
> *----------------------------------------------------
>
>
> "Jim Hank" wrote:
>
> > I am developing a new web site that has several spec sheets. Each spec sheet
> > has a table with multiple cells. When I store a small button image in one of
> > the cells of this table, it looks fine in the Design View of FrontPage 2003
> > but when I Preview this page the button image is not displayed. (It is also
> > not being displayed in IE6.)
> > I looked at the HTML code in this table cell and it includes the following:
> >
> > <td valign="top" width="68"><!--[if gte mso 9]> <p align="center"
> > style="margin-top: 0; margin-bottom: 0"> <img border="0" src="button.gif"
> > width="68"><![endif]--></td>
> >
> > If I remove the HTML <!--[if gte mso 9]> and the <![endif]--> statements,
> > the button image displays just fine.
> >
> > What does is this if and endif code code do, and how is it being created?
> > Any help will be most appreciated.
> > Jim

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
External web page displayed in a table cell ZekeTheElder@gmail.com Microsoft Frontpage 4 14th Jan 2009 10:13 PM
Div, Table and Cell Outlines not displayed Malcolm Walker Microsoft Frontpage 11 9th Mar 2008 12:33 AM
Merging into an Excel Cell the content of the Bookmarked table Cell from msword chamdan0150@netscape.net Microsoft Excel Discussion 1 6th Dec 2006 06:32 PM
Stop table cell content from 'growing' the cell Paul W Microsoft Frontpage 3 11th Apr 2005 10:01 AM
Excel "drops" text if cell content is bigger than what is displayed ... Joe HM Microsoft Excel Discussion 2 24th Feb 2005 11:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:24 PM.