how to remove space on left of body

T

Tony Strazzeri

My web page has some white space between the shared left border and the
main page which I can't remove.

I have tried adding leftmargin="0" to the body tag of both or either
the left border page (left.htm) and my main page (index.htm) but it
does not fix the problem.

The setting affects ONLY the actual left margin of the (for want of a
better word) combined page.

If I don't use a left shared border then the setting correctly puts the
main page flush left without space.

If I use the left shared border then FrontPage seems to ignore the
margin setting of the left.htm and responds solely to the setting on
the main page. but it still only affects the very left hand side (of
left.htm)

The space I am trying to eliminate is the white space between the right
of the left border and the left edge of the text in my main page.

You can see the effect on the page at
http://fairfield-space.org.au/index.htm

I would appreciate suggestions.

Cheers
TonyS.
 
S

Stefan B Rusynko

It is Not possible to remove the 24 px spacer cell used by shared borders
- use Include pages or a DWT instead

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| My web page has some white space between the shared left border and the
| main page which I can't remove.
|
| I have tried adding leftmargin="0" to the body tag of both or either
| the left border page (left.htm) and my main page (index.htm) but it
| does not fix the problem.
|
| The setting affects ONLY the actual left margin of the (for want of a
| better word) combined page.
|
| If I don't use a left shared border then the setting correctly puts the
| main page flush left without space.
|
| If I use the left shared border then FrontPage seems to ignore the
| margin setting of the left.htm and responds solely to the setting on
| the main page. but it still only affects the very left hand side (of
| left.htm)
|
| The space I am trying to eliminate is the white space between the right
| of the left border and the left edge of the text in my main page.
|
| You can see the effect on the page at
| http://fairfield-space.org.au/index.htm
|
| I would appreciate suggestions.
|
| Cheers
| TonyS.
|
 
R

Ronx

Left and Right shared borders add a 24px spacing column between the
border area and the content. You can check this by previewing in
browser, and use View Source.
Use include files in a table instead of shared borders. Includes will
give greater flexibility in page layout.
 
T

Tony Strazzeri

Thanks for the reply Stefan and Ronx.

A couple of small (I hope) related questions then.

I had a look at using included files. That is what actually spurred me
to ask the question. When I used included files I came across a whole
other set of issues (of course). I am not really sure what dwt are or
how to apply them in this case.

I set up a page using included files. I assume I am doing this right.
I used Insert|Web Component,| Included Content|Page. I Put this inside
a Layout table.

What I ended up with in design view was a layout table sitting on its
own at the top of the page with the content that will get displayed
beside it sitting below it. On Preview it looks OK but was a bit
unnerving seeing it there. After fiddling with the page and changing
the order I do things I managed to get it looking the same in Design as
in Preview. OK there.

My page now is a little more complex because most of my content is
inside another layout table, but I can live with that provided there
are advantages. However this is where I am not sure about the real
advantages v disadvantages.

On a previous post I had asked about using script includes. I have
code on some pages that allows me to disguise email addresses to
prevent harvesting. I have an email address using this script in the
bottom shared border. What I discovered last time was that Frontpage
ignores the fact that I have an include tag in the head part of the
bottom shared border page. It insists that place the include in the
head of every page that uses that shared border.

Having avoided the use of shared borders I was hoping that this would
now solve that problem as well. No such Luck! FP seems to ignore the
head part of the bottom shared border even when it is included content
:-< .

As far as I can see then, the main advantage I get is that I can
retrieve a little screen real estate, and that changes to the included
files seem to be a little faster than changes to the same files when
used as borders --although this could be because I have only a couple
of pages referring to the included files, since I have not changed all
my pages away from shared borders.

The disadvantage is that the page is a little more complex.

The five bob each way is that it still does not solve the issue of
includes in the head part.

Is this a fair summary?
Any other real advantages with using include page?

I have also seen posts suggesting that when using FrontPage navigation
tools in shared borders the page needs to be served from a server which
has Frontpage extensions. however other more recent posts seem to
indicate that this is not the case any more. I don't think my server
has FP extensions, yet the navigation components in the shared borders
seem to work OK.

This post ended up a little longer than I expected. Thanks for your
time. I appreciate it.

Cheers
TonyS.
 
R

Ronx

The FP include page allows the include to be placed anywhere in the
page. Shared borders are a form of include, but are restricted to the
edges of a page. Neither will include anything in the Head section of
the included page.

A DWT can be thought of as a super-shared-border. Design the total
page layout on a DWT, including JavaScript in the head section, and
the whole lot will be included in pages attached to the DWT.
 

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