Content of table cell not being displayed

G

Guest

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
 
G

Guest

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/assistance/HA010549981033.aspx

http://office.microsoft.com/en-us/assistance/HA010552491033.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)
|/---------------------------------------------------
*----------------------------------------------------
 
G

Guest

Thanks. I read these articles and they answered the "How" question. I will
manually remove these HTML statements.
Thanks,
Jim

Jim Buyens said:
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/assistance/HA010549981033.aspx

http://office.microsoft.com/en-us/assistance/HA010552491033.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 said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top