navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

How to add a break in Frontpage Page Headers

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Microsoft FrontPage Help >> How to add a break in Frontpage Page Headers
Page: [1]
 
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
How to add a break in Frontpage Page Headers - 12/7/2005 7:48:36   
Hi,
I run a large education website (12manage.com) and use Frontpage 2003 Page Headers at the top of each page to display the page title.

I would like to be able to add a line break in a page header, so that it will read:

Management
Methods Models and Theory

Instead of:

Management. Methods, Models and Theory


I need this because sometimes the titles are long. But for some reason I can't get it done...

Who can give me the golden tip how I can do that? My gratitude will be eternal.
coreybryant

 

Posts: 2494
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/7/2005 9:15:07   
Currently your code is
<h1 align="center" style="text-align: center">
		Management. Methods, Models and Theory</h1>
This is a little redundant because you are centering it twice, I would remove the
align="center"
all together. You might try:
<h1 style="text-align: center">Management<br>Methods, Models and Theory</h1>
This might give you the desired results but too much space between Management and Methods. If so you might try
<h1 style="text-align: center; margin-bottom: 0px">Management<br> Methods, Models and Theory</h1>
and you might need to add a space between your <h1> tag and the content

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to 12manage)
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/7/2005 11:59:53   
Thanks Corey for your quick response.
Unfortunately the solutions you suggest don't work.
If you add a <br> command in a page header, it will treat that as regular text.
So you will see in your browser:
Management<br> Methods, Models and Theory


Instead of the desired:
Management
Methods, Models and Theory

(in reply to coreybryant)
coreybryant

 

Posts: 2494
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/7/2005 12:47:50   
Did you add it to the HTML code?

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to 12manage)
dpf

 

Posts: 7126
Joined: 11/12/2003
From: India-napolis
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/7/2005 12:57:19   
a line break should work

_____________________________

Dan

(in reply to coreybryant)
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/7/2005 13:34:04   
Nope, I added it by rightclicking the page banner in Frontpage 2003 and then chose for Page Banner properties.
There I added the <br> including a space behind the <br>
What happens then is that indeed in Frontpage it displays the page header correctly, but after you publish it and you view with Internet Explorer it's not showing it right, because it displays the <br> as text.
I know if I do this in the html it will work but that's not an option since I have 4000 pages which are generated dynamically.

(in reply to dpf)
coreybryant

 

Posts: 2494
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/7/2005 13:38:04   
Ah I did not know it was a page banner generated by Frontpage. I thought it was an <h1> tag. Since that is a Frontpage web component, I do not think you can edit it

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to 12manage)
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/10/2005 4:50:30   
Maybe its better to get rid of these Frontpage Page Headers alltogether.

It seemed a good idea at the time when i started building the website, but I'm wondering at this moment what is actually the benefit of them compared to placing a stadard page title?:)

(in reply to coreybryant)
coreybryant

 

Posts: 2494
Joined: 3/17/2002
From: Castle Rock CO USA
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/10/2005 7:58:27   
Using some of the FP features can be good but you then are limited to what you want to do with them. Later down the road you need to change little things like this and unfortunately you cannot.

The benefit to it was - it was probably easier / quicker back then but that always has its drawbacks

_____________________________

Corey R. Bryant
Merchant Accounts | Toll Free Numbers | Expression Web Blog

(in reply to 12manage)
Rocket Boy

 

Posts: 409
Joined: 12/8/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/10/2005 14:48:35   
Could you place the title in a cell which is only wide enough to accomodate the words "Methods Models and Theory". The word "Management" will then appear above the rest of the title when you add it. The limited cell width will force the text to use 2 lines.

No need for hard-returns or line breaks? I don't know if this is a good idea but it does work.

(in reply to coreybryant)
womble

 

Posts: 5702
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/10/2005 15:06:27   
Hey, why not if it works? :) You'd have to use a fixed width cell though, width specified in px rather than % so it didn't resize. Should work.

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~
:)

(in reply to Rocket Boy)
suzanneb

 

Posts: 1
Joined: 12/15/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/15/2005 14:37:34   
You might be talking about making a breaking space by clicking on Shift/Enter? This brings your next line to the next line, rather than two lines down. Is this what you are asking? :)

(in reply to coreybryant)
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/15/2005 15:25:57   

quote:

ORIGINAL: Rocket Boy

Could you place the title in a cell which is only wide enough to accomodate the words "Methods Models and Theory". The word "Management" will then appear above the rest of the title when you add it. The limited cell width will force the text to use 2 lines.


Rocket Boy: good suggestion, but doesn't work because what you will get is somethong like:
Management. Methods,
Models and Theory


Also it would mess up all other page headers.

(in reply to Rocket Boy)
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/15/2005 15:31:02   
Suzanneb, your idea is also good and would work normally, but...

quote:

ORIGINAL: suzanneb
You might be talking about making a breaking space by clicking on Shift/Enter? This brings your next line to the next line, rather than two lines down. Is this what you are asking? :)

unfortunately it does not work with Frontpage 2003 page headers.
If you try that Frontpage will think you want to close the editing mode of the page header, so basically nothing happens.

(in reply to suzanneb)
puiwaihin

 

Posts: 1378
From: Taiwan
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/16/2005 10:23:15   
How about using two table cells and two banners? Put "Management" in the top cell and then "Methods, Models and Theory" in the bottom cell.

_____________________________

" Things are always darkest, just before it goes totally black."
-Hannibal Smith

(in reply to 12manage)
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/16/2005 10:40:18   
Thanks puiwaihin, I tried this one yesterday by coincidence, but:
the max number of Page Headers is an impressive 1 in Frontpage 2003, so that doesn't work either.

A big compliment :) to all you guys in this forum, you are really good. But as you see this is not an easy one to crack...

(in reply to puiwaihin)
womble

 

Posts: 5702
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/16/2005 10:56:10   
Not valid I know :), but putting the 'management' in <p> tags within the <h1> tags works...:)

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~
:)

(in reply to 12manage)
puiwaihin

 

Posts: 1378
From: Taiwan
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/16/2005 11:27:05   
Hmm. Well. You could try using an escape character in the code? Like \n or \r? You know try and trick the program into inserting a line break there?

I took a look at the source code on the site and you know what it's doing? It's using an <h1> tag. (Unless you just changed it). You might want to just ditch the page banner. Perhaps switch to using includes?

_____________________________

" Things are always darkest, just before it goes totally black."
-Hannibal Smith

(in reply to womble)
12manage

 

Posts: 9
Joined: 12/7/2005
Status: offline

 
RE: How to add a break in Frontpage Page Headers - 12/16/2005 14:59:28   

quote:

ORIGINAL: puiwaihin
You could try using an escape character in the code? Like \n or \r?


Tried both, but guess what... neither of them works.

I can't ditch the page banner because I want the title to be at the top of the page, inside the Page Header which contains the menu's which are the same for all pages.

Good suggestion though.

(in reply to puiwaihin)
Page:   [1]

All Forums >> Web Development >> Microsoft FrontPage Help >> How to add a break in Frontpage Page Headers
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts