Page number positioning in a Page Layout

This forum is for all Flare issues related to PDF, eBook, Microsoft Word, Adobe FrameMaker, XPS, and XHTML book targets.
Post Reply
Shellslark
Jr. Propeller Head
Posts: 8
Joined: Thu Oct 04, 2012 3:16 am

Page number positioning in a Page Layout

Post by Shellslark »

:? Can someone please explain how to control the positioning of the various elements in my footers? This is my first Flare project and I haven't been able to figure it out.
What I'd like is for my page layout footers to say "XYZ User's Guide" on the left side of the footer and have the page number appear in the right corner of the footer. I've placed all of the elements, but they're all mashed together.
Thanks!
Shellslark
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: Page number positioning in a Page Layout

Post by SteveS »

Have you thought about using a 3 column 1 row table? Left align the left cell, centre align the middle, and right align the right cell.

Pretty certain Madcap were doing something similar in their sample project.

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Thomas Tregner
Propeller Head
Posts: 56
Joined: Mon Apr 05, 2010 6:51 pm
Location: Charleston
Contact:

Re: Page number positioning in a Page Layout

Post by Thomas Tregner »

I usually use tables since they are so convenient. But if you want an alternative, you can follow this pattern:
CSS

Code: Select all

div.col1
{
    float:left;
    width:34%;
}

div.col2
{
    width:33%;
    display:inline;  
}

div.col3
{
    float:right;
    width:34%;
}
HTML

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Untitled Page</title>
    <link rel="Stylesheet" type="text/css" href="ThreeColumn.css" />
</head>
<body>
<div class="col1">Left - Column 1</div>
<div class="col2">Middle - Column 2</div>
<div class="col3">Right - Column 3</div>
</body>
</html>
This isn't a Flare example but you can implement it in a Flare project. If you place other elements in the div elements, the styles can override the expected behavior. For example if you place a p element, a break will be introduced unless the p element is styled not to break.
Shellslark
Jr. Propeller Head
Posts: 8
Joined: Thu Oct 04, 2012 3:16 am

Re: Page number positioning in a Page Layout

Post by Shellslark »

Thanks for the suggestions! I really appreciate it.
Post Reply