CSS does Frames...?

S

Sothpaw

i've read on FP 2003 help that CSS does what frames does and much more... the
CSS tutorials have shown me so far how do do text and color and some other
things... for now i want jump to where CSS does what Frames do... like
importing the exact set of hyperlinks that i would have set up as my banner.
so it's always the same on every page... where can i find that tutorial?
 
S

Sothpaw

could i get another answer..? maybe some more help or other comment...?
this is the website www.foxarch.com
and i would like to if possible get CSS to generate the exact same header
and sidebar on every single page.... so i don't hafta change each and every
page when i add or delete or modify the links or graphics in the header or
sidebar.
 
T

Thomas A. Rowe

You can use the FP Include Page Component to do what you want, and if using FP2003, you could also
use Dynamic Web Template with or without the FP Include Page component with have a need to use CSS

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
M

Mike Mueller

I agree with Thomas. I use <includes> thoughout my sites.
If you use tables with the includes you can get your sidebar
taken care of. I would leave the CSS for the presentation
stuff.


: You can use the FP Include Page Component to do what you
want, and if using FP2003, you could also
: use Dynamic Web Template with or without the FP Include
Page component with have a need to use CSS
:
: --
: ==============================================
: Thomas A. Rowe (Microsoft MVP - FrontPage)
: ==============================================
: If you feel your current issue is a results of installing
: a Service Pack or security update, please contact
: Microsoft Product Support Services:
: http://support.microsoft.com
: If the problem can be shown to have been caused by a
: security update, then there is usually no charge for the
call.
: ==============================================
:
message
: : > could i get another answer..? maybe some more help or
other comment...?
: > this is the website www.foxarch.com
: > and i would like to if possible get CSS to generate the
exact same header
: > and sidebar on every single page.... so i don't hafta
change each and every
: > page when i add or delete or modify the links or
graphics in the header or
: > sidebar.
:
:
 
M

Murray

This is not what CSS does. The other responses have steered you to includes
and I would echo that suggestion.

CSS can style and position elements on the page, but it does not write HTML
into the pages.
 
S

Sothpaw

so then why does it say "css does what frames can do and much more" or does
it mean it can do SOME of what frames can do
 
S

Sothpaw

i did an include but it didn't bring in the graphics... ie. background, font
color... just the text.
 
T

Thomas A. Rowe

You have to place the content to be included in a table, as only the content that is between the
<body> content to be included</body> tags is included in other pages.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
T

Thomas A. Rowe

Where did you read this at?

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
M

Murray

I'm not sure how FP handles includes, but in the non-FP world you have to
make sure that every link in an include is a root relative link, e.g.,

<a href="/dogs/pomeranian.html"

rather than -

<a href="../dogs/pomeranian.html"

since you have no idea where the page receiving the include will be located
within the site. I'm guessing that this is related to your problem,
although I understand that FP doesn't do root relative links - so I'm
waiting for the others to fix me up on this....
 
T

Thomas A. Rowe

FP will manage the hyperlinks in includes relative to the current web/page location in relationship
to the page it is included in.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
M

Murray

Thanks Thomas, so you don't even have to worry about it then.

But the original problem certainly sounds like FP didn't manage things.
Could that be because the page itself was open and not the web?
 
T

Thomas A. Rowe

Yes, that could be a cause and

FP doesn't work with paths written as:

href="/dogs/pomeranian.html"

the path has to be either

href="../dogs/pomeranian.html"

or

href="dogs/pomeranian.html"

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 

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