-----Original Message-----
My mom has designed a site and used several different
templates in it's creation. The site at this point is
over 1000 pages so going through and changing each page
individually would be a problem. What we are trying to
do is change the backround on the horizontal navigation
bar, viewed hyperlink, active hyperlink, and border
colors on one of the templates. While it will let me do
this on a page by page basis she said something about
cascading style sheets and that we should be able to
change one and have all of the webpages using that
template change as a result. I have followed the help
instructions to no avail. Any suggestions?
If the affected pages are already using a linked style
sheet, then yes, changing the style sheet would affect all
the pages in one fell swoop.
If the affected pages aren't currently using a linked
style sheet, but the attributes you want to modify are
taking HTML defaults, then you could create a style sheet
and link it onto those pages.
If, however, the attributes you want to modify are hard-
coded in each page, then you do need to modify each page.
Personally, I would view this as an opportunity to remove
the existing, hard-coded attributes and replace them with
styles from a linked style sheet, but the decision is
yours.
With luck, you could also do some sort of global
search/replace.
1. Open your Web.
2. Choose Replace from the Edit menu.
3. Set Find Where to All Pages.
4. Select Find In HTML (or, in FP2003, Find In Source
Code).
5. Carefully specify the Find What and Replace With text,
then click Find In Site.
6. When the search finishes, double-click the first
entry in the resulting list. This initiates a
Find/Replace on the first matching page, which you can
review.
The challenge here is to develop a Find What string
specific enough to avoid stray hits.
FP2003 has some great new Find/Replace features. For
example, you can do a Find/Replace on a whole site, but
only within certain HTML tags. This is great if, for
example, you want to change or remove the bgcolor=
attribute on the <body> tag only.
Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| 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)
|/---------------------------------------------------
*----------------------------------------------------