Need Some Tips on How to Implement...

D

Dryvlyne

Hello

I need some advice/tips/insight on how to accomplish the following items. Also, I am using FrontPage 2003 - Thank You

1) How do I get the left shared border to look at the body length of the page and extend all the way down? Right now I have many "nbsp;" in my left shared border to give it the appearance that it is extended down the left hand side of my pages. This obviously is a problem because the body content on the WebPages I am working with differs in length. I need a way in which the left shared border will be able to "look" at the current length of the body being displayed and adjust accordingly

2) How do I get rid of the default indentation between the left shared border and the body of a page

3) What coding to I add to my external style sheet that will tell every WebPages on the site to have the following specifications: leftmargin="0" and topmargin="0" so that there is no spacing between the WebPages and browser window
 
J

Jon Spivey

Hi,
I don't use shared borders so can't help you with 1 and 2. For 3 you would
add a body rule like this

body{
margin:0;
padding:0;
}

The padding covers Opera - it adds a default padding of about 12 px to a
page. However the above won't work in NN4 - if you want to cover this
browser you still need to add margin declarations to the body tag. You may
prefer to just ignore the default margin in NN4.

Jon
Microsoft MVP - FP
 
T

Thomas A. Rowe

For 1 and 2:

When using shared border, you have to learn to deal with the 24 pixel gap between the left or right
shared border and your content if you want to continue to use shared border, same applies to the
length. You have two option to use in place of shared borders, the first is structure your page
layout using table and nested table and FP Include pages, the second available to you because you
are using FP2003, is to use the Dynamic Web Template, which can be combined with the FP Include Page
component.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Dryvlyne said:
Hello,

I need some advice/tips/insight on how to accomplish the following items. Also, I am using FrontPage 2003 - Thank You!

1) How do I get the left shared border to look at the body length of the page and extend all the
way down? Right now I have many "nbsp;" in my left shared border to give it the appearance that it
is extended down the left hand side of my pages. This obviously is a problem because the body
content on the WebPages I am working with differs in length. I need a way in which the left shared
border will be able to "look" at the current length of the body being displayed and adjust
accordingly.
2) How do I get rid of the default indentation between the left shared border and the body of a page?

3) What coding to I add to my external style sheet that will tell every WebPages on the site to
have the following specifications: leftmargin="0" and topmargin="0" so that there is no spacing
between the WebPages and browser window?
 
T

Thomas A. Rowe

#1 The background color applied to the shared border page background will only appear for the length
of the left or right shared border, meaning that it will not extend into the top or bottom shared
border areas of the page, if they are being used.

# 2 I still recommend FP Include Pages over shared borders, because of the added flexibility,
however the only drawback, which is a one time drawback, is that you have to manually apply them to
all pages when you first start using them.

I have add them to site of 500 pages and does take awhile, but the what I do is to insert the first
one using the Insert Menu... then I do a copy and paste for all other pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================


Dryvlyne said:
Ok, I can probably deal with the gap between the border and the body, but is there not a way in
which I can have the left shared border automatically adjust according to the length of the body
content?
Also, in your opinion, would I be better off implementing the FP Include Pages instead of using
shared borders? The reason I ask is because the site I am administring is quite large so the shared
borders has been a great benefit. I imagine that if I wanted to have an Include Page inserted into a
page I would need to go to each individual page and add it as a component, correct? Unfortunately if
that is the case that would be very time consuming and would not be very feasible for me to
implement into a large site. If you know of a way for me to implement an Include Page into every
page of my site without having to go to each individual page and add it as a component then please
let me know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top