Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

FP2002 : Auto Insert Code

Posted on 2004-04-15
7
Medium Priority
?
250 Views
Last Modified: 2013-12-24
Please help.... I am having DW3 and Frontpage 2002 at work. Both tools I'm not familiar with. I am so used to FP2000. My problem is whenever I insert table in FP2002, (refer code below)

<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="100%" id="AutoNumber1">

It automatically insert this...
style="border-collapse: collapse" width="100%" id="AutoNumber1"

How do I set my FP2002 so it wont spit out that codes automatically?

FP2000 is sooooooooooo much easier. Duhh
0
Comment
Question by:sylviawee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
7 Comments
 
LVL 12

Expert Comment

by:rcmb
ID: 10841324
There is no way to remove this default setting that I can find.I have spent over an hour searching the web and MSDN and there is no setting in FP to remove these default values.

Not sure what your actual problem is. The default values have little to no effect on the appearance of your table and if you never switch to html view you don't know they are there ;-).

RCMB
0
 
LVL 31

Assisted Solution

by:seanpowell
seanpowell earned 400 total points
ID: 10842123
This will partially help:
(Scroll down to clean table)

http://www.jimcoaddins.com/addins.aspx
0
 

Author Comment

by:sylviawee
ID: 10866078
RCMB, Of course it has no effect appearance-wise but code-wise, makes things messy.

SeanPowell, Yes that partially helps. But it still doesn't take out the

...style="border-collapse: collapse" bordercolor="#111111"...

only take out the meta and idnumber.. anyway thanks for the above site link.

still awaiting for answer. if possible asap.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 12

Accepted Solution

by:
rcmb earned 1600 total points
ID: 10867484
Just as a quick work around.

Use search and replace (check the find in html box) to search for:
(Note: Just in case you did not know, when using search and replace you can select the root web in Folder List view and it will search the entire website or you can select individual folders or files.)

 style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"

and replace with something like:

 width="100%"

I created nine quick pages with tables and performed the search and replace and all was removed and after opening, saving and closing numerous times the code never returned.

I know this is not exactly what you are looking for but this does a quick and permanent cleanup to your code and you may only have to perform it once or twice a month depending on how much table development you do.

RCMB
0
 

Author Comment

by:sylviawee
ID: 10867538
that helps alot :-) thanks rcmb
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 10867863
Just a follow up...
Here's how to remove them permanently

This part: id="AutoNumber1"
Go to Tools > Page Options > General Tab:
Uncheck "Assign Unique ID's to new tables"

This Part: style="border-collapse: collapse"
Insert a table. Right-click > Table Properties > Check "Show both cells and table borders"
It will remove the collapse attribute and now be the default.

This part: width="100%"
When you insert a new table, deselect the width parameter in the dialog box and check "Set as Default for new tables"
0
 
LVL 12

Expert Comment

by:rcmb
ID: 10867883
When I grow up I want to be like Sean.

I bow in your presence :-)

RCMB
0

Featured Post

The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question