|
Fichiers inclus FrontPage The ASP templates use
FrontPage includes - they're very simple to use and can
really be added to and deleted at will.
Modifying an include page
In FrontPage folder view open the includes folder and
double click on the file you want to change. Make the
modifications and on saving, all the pages that are
linked to that include file will be automatically
updated. There are only a couple of things to be wary
of. If the include file uses graphics, make sure that
your new graphics will fit into the space provided for
them. Some include files, typically ones used for news
sections, use smaller text. This is a achieved through .css
class - take a look at the code and you'll probably see
something like this: <td class="smaller">
or <p class="smaller"> - if
this is the case, and you want to maintain the look, you
may need to manually add the class to the <p> tag when
adding a new paragraph. Speaking of <p> tags, be careful
as sometimes Frontpage will add them to your code, both
on the include page and the main page which contains the
include - this may cause some extra spacing to occur and
will mess up your design, particularly in Netscape 7. To
delete them open the page in HTML view, delete and save,
making sure you have the "Preserve existing HTML" box
checked in Page Options.
Note: Only code that is between the
opening and closing <BODY> tags will be read in include
files, so if you have to put some script into the <HEAD>
section, it will have to be moved to the <BODY> |