|
| |
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
Removing Useless Tags Generated By FP Tables - 3/20/2004 13:59:58
Create a New Page > Goto the Table Layout section (default position is to the right, and it contains many different tables you can use) > Click on any table layout. The code will produce some of these tags by default within the code: <!-- MSTableType="layout" --> <!-- MSCellType="DecArea" --> <!-- MSCellType="ContentHead" --> <!-- MSCellType="NavBody" --> <!-- MSCellType="ContentBody" --> Is there a way you can remove them other than deleting them from the source code each time you create the table?
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
jeepless
Posts: 226 Joined: 12/20/2003 From: Smack in the middle of USA Status: offline
|
RE: Removing Useless Tags Generated By FP Tables - 3/21/2004 10:21:59
First, keep in mind that these "useless tags" are just simple comments to help you find your way through the HTML code. They have no significant effect on your pages. But if you still want them removed, I believe you'll have to edit the template pages themselves. Look in the MS Office folder on your hard drive where you should find a subfolder called 'templates'. Under this folder are more subfolders and one will be called '1033' or something similar. This folder holds all the subfolders that store the individual templates (eg, 'Layouts11'). Then it's just a matter of editing each one to remove the comments.
|
|
|
|
ellipisces
Posts: 849 Joined: 12/14/2003 Status: offline
|
RE: Removing Useless Tags Generated By FP Tables - 3/22/2004 3:23:21
quote:
Maybe you enjoy having code that does nothing, but I do not need/want tags that tell me where to put my content. True, professional, programmers comment all code. If you just have a couple clients and can remember it all, fine. If you are in it as a PRO, there is no way you can ever remember it all, with hundreds or thousands of clients. Do yourself a favor, comment your code...
_____________________________
|
|
|
|
BobbyDouglas
Posts: 5470 Joined: 5/15/2003 From: Arizona Status: offline
|
RE: Removing Useless Tags Generated By FP Tables - 3/22/2004 10:04:06
Thanks for the suggestion. I do think it is easier to read your own code when you place comments in it (at least when there is a lot of code). But that is beside my point, the fact that FP inserts its own comments, is what kills me. It is like having the the "genereated by FP 2003" inside one of your tags in the header. Just useless information that does not need to be displayed on the page. I haven't ever had the need to comment out code, but usually I only work on 2-4 web sites at a time, so I most likely have not experienced the need, compared to many people who work on more web sites at one time that might use this often. Other than server generates pages, I never see any code that web designers have that uses comments to show where the header, content, footer, and such are.
_____________________________
Arizona Web Design - Mr Bobs Web Design in Arizona The Arizona Web Hosting Challenge
|
|
|
|
ellipisces
Posts: 849 Joined: 12/14/2003 Status: offline
|
RE: Removing Useless Tags Generated By FP Tables - 3/22/2004 11:10:04
quote:
Other than server generates pages, I never see any code that web designers have that uses comments to show where the header, content, footer, and such are. <!-- left menu start - menu is styled in mainstyle.css-->
<div id="button">
<ul>
<li><a href="index.htm">Home</a></li>
<li><a href="Design.php">Design</a></li>
<li><a href="Construction.php">Construction</a></li>
<li><a href="Maintenance.php">Maintenance</a></li>
<li><a href="Consulting.php">Consulting</a></li>
</ul>
</div>
<!-- left menu end -->
</td>
<td width="9">
<img src="images/menu_curve_bottom1.gif" width="9" height="145" alt="small picture of curved line" border="0"></td>
</tr>
</table>
<!-- header end -->
I guess FP 2003 adds a lot more than previous versions? It still looks like it could be of value. I hate trying to break down endless <tr> and <td> tags...
_____________________________
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|