Frontpage adds   on <td> tags (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


dzirkelb1 -> Frontpage adds   on <td> tags (2/6/2008 12:00:28)

I have numerous <td></td> tags that look something like this:

<td><font face="verdana" size="1"><%=rs("CustItem")%></font></td>


Whenever I go to save the file, it adds a  _nbsp; (replace the _ with & as I can't type it here, just turns into a space) to look like this:

<td><font face="verdana" size="1"><%=rs("CustItem")%></font>_nbsp;</td


(again replace the _ with &)

This causes problems when I go to copy / paste data from the web to excel...it reads it as text with that space. Is there a way to turn off that feature that adds that space? I am using front page 2002 sp3




swoosh -> RE: Frontpage adds   on <td> tags (2/6/2008 12:09:35)

quote:

Is there a way to turn off that feature that adds that space?


I don't believe so. FP does that so that the table cell outline is visible.




treetopsranch -> RE: Frontpage adds on <td> tags (2/6/2008 19:29:28)

Swoosh is correct but you could do a find and replace immediately after you create your table in FP. Find the _nbsp; and replace with nothing.





dzirkelb1 -> RE: Frontpage adds on <td> tags (2/7/2008 8:39:54)

I do the find and replace, but once I hit save, it adds them all back in :(

Currently, I am just doing a find and replace in visual interdev to get rid of the problem, but its a pain.




swoosh -> RE: Frontpage adds on <td> tags (2/7/2008 9:00:01)

I'm sure this is not the way you want to do it but the following is from Microsoft:

quote:

FrontPage Editor will not retain the nbsp; character entities if a table cell has an explicit height setting because the nbsp; would force a minimum height for the cell. When parsing the HTML, FrontPage Editor removes any nbsp; character entities it deems extraneous.




dzirkelb1 -> RE: Frontpage adds on <td> tags (2/7/2008 9:13:31)

Ya, thats going to be more of a pain than opening another program and doing a find and replace. thanks for the info though.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.152344E-02