Ask Your Question

How to make header and footer of a page be color bars

asked 2020-12-04 18:19:13 +0100

seasoned_geek gravatar image

updated 2020-12-04 19:19:18 +0100

This should be rather simple, but, well, I'm asking.

I want to put a black bar that ends in gray at the top of the page and a gray bar that ends in black at the bottom as shown here.

image description

Thanks in advance for successful information.

edit retag flag offensive close merge delete


Something is broken in your image link, even if I remove the initial ! (which, incidentally, can work only on images uploaded to AskLO).

Edit your question (clicking on the edit link) to wipe out your current link and use the "slide" tool icon which is specifically designed to upload images.

ajlittoz gravatar imageajlittoz ( 2020-12-04 18:24:44 +0100 )edit

The problem is the forum software is massively hokey. I've been in IT over 30 years and that image handling is unforgivably hokey. I asked for a link, I put the link in and it looked good in the preview. The forum software is just no good. I had to screen scrape that and upload.

seasoned_geek gravatar imageseasoned_geek ( 2020-12-04 19:20:53 +0100 )edit

I would think of putting an empty text table in the header and in the footer with cells filled with desired colors.

gabix gravatar imagegabix ( 2020-12-04 19:43:23 +0100 )edit

Thank you. The one-row table did the trick.

seasoned_geek gravatar imageseasoned_geek ( 2020-12-06 15:15:25 +0100 )edit

2 Answers

Sort by » oldest newest most voted

answered 2020-12-04 19:44:01 +0100

ajlittoz gravatar image

There are two ways to tackle the problem.

Decoration from margin to margin

Insert a 1-row × 2-coumn table in header and footer and just select the desired cell background colour.

Decoration from edge to edge (assuming your printer can do it)

Create a graphics image, e.g. in Draw, with the target dimensions, one for the header, one for the footer.

In the header, paste the image and review its properties (right-click on it and Properties):

  • anchor To paragraph
  • wrap does not matter because you don't put any text in the header
  • in Type tab, Position section, center it horizontally to Entire page and vertically From top by xx cm to Entire page

Do the same in the footer.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

edit flag offensive delete link more

answered 2020-12-05 01:42:03 +0100

Earnest Al gravatar image

Create your image.

In Format > Page Style, click on the tab labelled Header, tick Header On.

Click the More... button, in the new dialog click on the tab Area, click the button Bitmap, then click Add/Import. Navigate to your saved image and Open. Adjust with Style > Custom Position/size.

Or you could try one of the existing bitmaps. Or the Gradient button seems to offer the ability to make a simple band as in your picture.

Repeat for Footer. Cheers, Al

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-12-04 18:19:13 +0100

Seen: 46 times

Last updated: Dec 05 '20