How do I add colour to the entire header?

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Fidens1
Propeller Head
Posts: 15
Joined: Fri May 10, 2013 5:26 am

How do I add colour to the entire header?

Post by Fidens1 »

Hi all,
I've set up a new page. The margins are all set to 0. I set the background colour. It works, but in the header (and footer) only the top line in coloured in. I've attached a picture of what I'm getting. Why isn't the whole header coloured in? Does anyone know how I can achieve this?


Cheers,
You do not have the required permissions to view the files attached to this post.
There are such things as stupid questions. Luckily, I've documented answers for all of them.
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: How do I add colour to the entire header?

Post by SteveS »

Where have you set the background colour? For example, have you set it on the body tag, or on a design element?
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Fidens1
Propeller Head
Posts: 15
Joined: Fri May 10, 2013 5:26 am

Re: How do I add colour to the entire header?

Post by Fidens1 »

Hi,
I've set the background colour on the HTML tag. I thought that would colour all of the background. It does on the page, just not the header and footer. It only partial colours it in for some reason.

Cheers.
There are such things as stupid questions. Luckily, I've documented answers for all of them.
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: How do I add colour to the entire header?

Post by SteveS »

I'd try the body tag to see if that made a difference...
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Fidens1
Propeller Head
Posts: 15
Joined: Fri May 10, 2013 5:26 am

Re: How do I add colour to the entire header?

Post by Fidens1 »

Hmmm. That definitely won't help because the body tag sits inside the header and footer tags.

What else could it be?
There are such things as stupid questions. Luckily, I've documented answers for all of them.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: How do I add colour to the entire header?

Post by LTinker68 »

Fidens1 wrote:That definitely won't help because the body tag sits inside the header and footer tags.
For print output, if you're using page layouts (which you should), there are body tags in each type of frame. Setting the background color on the body tag should take care of the background color for all frame types in your page layout. However, you can also specify a background color in the page layout itself, I believe. If not, you can specify background colors for the frames in the page layout, but those would be hard coded in that page layout.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Fidens1
Propeller Head
Posts: 15
Joined: Fri May 10, 2013 5:26 am

Re: How do I add colour to the entire header?

Post by Fidens1 »

No, still not working. Oh, well. Maybe I should just remove the header and footer?
There are such things as stupid questions. Luckily, I've documented answers for all of them.
Msquared
Propellus Maximus
Posts: 848
Joined: Mon Aug 06, 2012 10:19 am
Location: Southampton, UK

Re: How do I add colour to the entire header?

Post by Msquared »

What content have you got in your header, and how deep is it? Is there any emptyspace between the header and your body frame?

If your header only has one (empty?) paragraph, followed by empty space, does the coloured band correspond to the background colour being applied to the paragraph, and the rest of the header having no content and hence nothing to apply your background formatting to?

if the white bit is empty space between your header and body frames, then no amount of formatting can apply a colour to nothing.

If so, you could make sure the header joins up with the body frame, then try putting a div in your header, set to the depth of the header frame, then set the background colour for that.
Marjorie

My goal in life is to be as good a person as my dogs already think I am.
Post Reply