[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.frontpage.programming

Need Some Tips on How to Implement...

Dryvlyne

4/13/2004 9:01:00 PM

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

3 Answers

Jon Spivey

4/13/2004 9:10:00 PM

0

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


Dryvlyne wrote:
> 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?


Thomas A. Rowe

4/13/2004 9:23:00 PM

0

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)
http://www.ycoln-res...
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/news...

"Dryvlyne" <dryvlyne(removethis)@adelphia.net> wrote in message
news:F52C18C0-B050-4094-9913-73F12E7AD084@microsoft.com...
> 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?
>


Thomas A. Rowe

4/14/2004 6:21:00 PM

0

#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)
http://www.ycoln-res...
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
To assist you in getting the best answers for FrontPage support see:
http://www.net-sites.com/sitebuilder/news...

"Dryvlyne" <anonymous@discussions.microsoft.com> wrote in message
news:0F45B1D3-CE8D-4DAC-96AA-B52DFF82C64B@microsoft.com...
> 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.
>
> Thanks
>
>
> ----- Thomas A. Rowe wrote: -----
>
> 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)
> http://www.ycoln-res...
> FrontPage Resources, WebCircle, MS KB Quick Links, etc.
> ==============================================
> To assist you in getting the best answers for FrontPage support see:
> http://www.net-sites.com/sitebuilder/news...
>
> "Dryvlyne" <dryvlyne(removethis)@adelphia.net> wrote in message
> news:F52C18C0-B050-4094-9913-73F12E7AD084@microsoft.com...
> > 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?
> >