PC Review


Reply
Thread Tools Rate Thread

How to add something to all page headers?

 
 
glen@glen-miller.com
Guest
Posts: n/a
 
      16th Apr 2006
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

 
Reply With Quote
 
 
 
 
Trevor L.
Guest
Posts: n/a
 
      17th Apr 2006
(E-Mail Removed) wrote:
> 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 }


--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


 
Reply With Quote
 
Ronx
Guest
Posts: n/a
 
      17th Apr 2006
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.
--
Ron Symonds - Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
FrontPage Support: http://www.frontpagemvps.com/

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
glen@glen-miller.com
Guest
Posts: n/a
 
      18th Apr 2006
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can a multi-page subreport repeat the main report page headers? Clif McIrvin Microsoft Access 0 8th Oct 2009 01:42 AM
Page Headers in Group Headers =?Utf-8?B?SmltIEpvbmVz?= Microsoft Access Reports 2 23rd Oct 2007 11:06 AM
Copy text line from first page into different page headers =?Utf-8?B?UHJvY2VkdXJlV3JpdGluZ05lcmQ=?= Microsoft Word Document Management 1 18th Feb 2007 08:00 PM
How Does One Setup Web or Page Headers to Identify Subjects Addressed on a Web or Page? AA Smith Microsoft Frontpage 2 6th Jun 2005 01:02 AM
Printing page headers with group headers Debbie Microsoft Access Reports 0 13th Nov 2003 11:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:41 AM.