How to add something to all page headers?

  • Thread starter Thread starter glen
  • Start date Start date
G

glen

Hi,
I'm using FP2000. I have a 500+ page web site. I want to add a line
to all existing pages in the <head> </head> area. I also want this
line to be in all new pages that are created (in the header).

The line is:
<style> form { margin: 0 } </style>
(which gets rid of the blank area surrounding forms / "buy" buttons)

I'm thinking there must be a automated way to accomplish this. (i.e. a
single location I put this where it will ripple through the site, like
part of the theme, shared borders, or something.)

Can anyone give me a hand?

Thank you,
Glen
 
Hi,
I'm using FP2000. I have a 500+ page web site. I want to add a line
to all existing pages in the <head> </head> area. I also want this
line to be in all new pages that are created (in the header).

The line is:
<style> form { margin: 0 } </style>
(which gets rid of the blank area surrounding forms / "buy" buttons)

I'm thinking there must be a automated way to accomplish this. (i.e.
a single location I put this where it will ripple through the site,
like part of the theme, shared borders, or something.)

Can anyone give me a hand?

Thank you,
Glen

Do you have a link to a specific stylesheet in your 500+ pages in the <head>
section?
E.G.
<link rel="stylesheet" type="text/css" href="style.css" />

If so, then just add this to the stylesheet
form { margin: 0 }
 
Either add the line to an existing external style sheet, as Trevor
suggested, or create an external style sheet - use notepad for this,
FrontPage2000 has a bug that crashes the program when editing/creating
external stylesheets - and link the sheet to all your pages
With the web open, use Format->Style Sheet Links
Click All Pages
Click Add and browse to the new style sheet
Click OK
Click OK
The new CSS should be added to the <head> section of every page.
If you are using a theme, the theme may overrule anything in the
stylesheet - this happens whether you use an external sheet, or one
embedded in the head section.
 
Thanks for the replies. I'm not currently using a stylesheet, but I'll
give that a try. I am using a theme though, so I'll see if it trumps
it.
Glen
 
Back
Top