How do I remove gap between left border and body of text in front.

Z

Zblit

I am creating a frontpage web. I am using shared borders. FP adds a gap or
space between the left shared border and the body of the text. How do I get
this to align all the way left right next to the left shared border? I am
trying to insert a tale so that the background has one color, the left shared
border has another color and the body of the page has another color.
 
J

Joe Rohn

Hi Zblit,

I don't believe that you can..this is one of the weaknesses of using Shared
Borders. IIRC it creates about a 23 pixel wide gap between the two. You
might want to look into using Include pages instead..where the gap can be
prevented.
 
Z

zblit

There is always a way. Microsoft didn't seem to make it easy, but it was
programmed with this behaviour, and one way or another it can be
reprogrammed. I have seen some comercial frontpage templates that get around
this but I don't want to spend $100 to see how they figured it out.

When I examine the code output that Frontpage produces it inserts an
unwanted table row between the left shared border and the body text that has
a width of 24.

It inserts this exact code: <td valign="top" width="24"></td>

I can always edit it out after the fact but I shouldn't have to.
 
T

Thomas A. Rowe

If you remove it and then re-open the site in FP, it will be put back.

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

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

Thomas A. Rowe

Plus since you would have to open every page to do so outside of FP, just switch to using the FP
Include Page component, which once inserted provides the same functionality as Shared Borders, but
with more flexibility.

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

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

zblit

I realize that. I ment manually edit the HTML code after the page is complete
before uploading it to FTP.

I have seen other Frontpage users struggle with this issue. You'd think
Microsoft would have produced a readily available solution.
 
T

Thomas A. Rowe

The solution is to use the FP Include Page component, and if using FP2003, you also have the option
to use Dynamic Web Templates.

In order the remove the 24 pixel space you would have to redo the tables generated on every page
outside of FP.

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

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

Cheryl Wise

Microsoft has provided a readily available solution that Thomas has given
you.

You can use a FrontPage Include which gives you much more control over
where you content goes than a shared border ever will or if you have FP 2003
you can use a DWT.

The gap is there because a shared border is intended for people who do not
want or need to know how to put spaces between the shared file and the main
page. For people who are a bit more knowledgeable Includes were provided to
give them the control they want/need.
 

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