Alignment problem

O

oscar

Hi Folks... if anyone could help me out with this it would be much
appreciated.

http://www.rollestonsections.com/jetpro/index.htm

The banner and menu is in one frame, and the main page below is in
another frame, both are set to 800 pixels width and centre aligned.
However the scroll bar in the man page casues a misalignment. Is there
an easy fix for this? (I'm still working on this hence a lot of missing
information from the web page.)

Thanks
 
S

Stefan B Rusynko

Don't use frames
- Unnnecceary w/ good Dhtml

If you must use frames set all your page margins the same
- you have
<body bgcolor="#000000" link="#FFFFFF" vlink="#FFFFFF" alink="#FFFFFF" topmargin="10">
(no left margin)
<body bgcolor="#000000" leftmargin="4" topmargin="0">

--

_____________________________________________
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
_____________________________________________


| Hi Folks... if anyone could help me out with this it would be much
| appreciated.
|
| http://www.rollestonsections.com/jetpro/index.htm
|
| The banner and menu is in one frame, and the main page below is in
| another frame, both are set to 800 pixels width and centre aligned.
| However the scroll bar in the man page casues a misalignment. Is there
| an easy fix for this? (I'm still working on this hence a lot of missing
| information from the web page.)
|
| Thanks
|
 
O

oscar

thanks for the reply. I'm a bit of a novice with HTML. To date I have
used FP 2002 to create my web pages. Is there anywhere on the web I can
read about replacing my frames with DHTML?
 
T

Trevor L.

oscar said:
thanks for the reply. I'm a bit of a novice with HTML. To date I have
used FP 2002 to create my web pages. Is there anywhere on the web I
can read about replacing my frames with DHTML?

I have been looking into replacing the frames on my site
Alternatives are
Shared Borders - not recommended
Server Side Includes
FP Includes
Use of <div>s to contain each "frame"
(see the thread "Creating a frameless site - how do I position my <div>s")

DHTML is probably similar to the last option in that the "frames" are
included using JS.
 
O

oscar

boy I have some learning to do... ;-) Thanks for the reply. I might
just have to live with my frames for now.
 
O

oscar

I have worked out how to use the included content feature. Thanks for
your help and patience Stefan and Trevor. It seems to work very well.
 
T

Trevor L.

oscar said:
I have worked out how to use the included content feature. Thanks for
your help and patience Stefan and Trevor. It seems to work very well.

Oscar,
That's great

I actually gave up on FP includes. Perhaps I'll try again :))
 
T

Trevor L.

oscar said:
Trevor,

Here's my solution using includes, let me know if you need help. :)

http://www.rollestonsections.com/jetpro/rd1.htm

Thanks for the reference.

It shows the generated code, but I would need to figure out how to use
FrontPage to do it.
(Probably very straightforward, but I haven't actually used FP in design
mode for ages. I just use it for uploads.)

I have put together some pages oustdie FP where I set up a template which
contains the included code and then I leave a space for the main code

e.g. the template is like this
<body>
<div id="div1">
<!-- Included code here, say a header -->
</div>

<div id="div2">
<!-- Included code here, say a side menu -->
</div>

<!-- Main code starts here -->

<!-- Main code ends here -->

<div id="div3">
<!-- Included code here, say a footer -->
</div>
</body>

Of course, div1 div2 and div3 have to have CSS to position them approriately
 
O

oscar

Sorry Trevor, my understanding of HTML is virtually zero. I simply
clicked on insert>web component then selected included content. Thanks
 

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