Include Page with CSS - Help Please

W

Whit

Hi - I've inherited a church website that uses an FP Theme. I'm using FP2000
to manage it. I want to add a common section to every page, using the
"Include Page" component to insert "footer.htm". I would like to include a
little css to control link fonts in this component. I've embedded the
following code into the head of "footer.htm":

<STYLE>
a:link, a:visited, a:hover, a:active {color:#ffffff; text-decoration:
underline }
</STYLE>

It works fine as long as I'm looking at the "footer.htm" page, but when I
insert it as an "Include Page" component, the FP Theme seems to override the
link font settings. Is there a good way to "fix" it? I can manually change
the style of every link, but there are a LOT of links. Thanks for your help.
Whit
 
C

chris leeds

the include page copies only what's between the <body> and </body>tags.
Your best bet is to add a span class to your external .css sheet that the
"main" page uses, then just put the span around your footer content: <span
class="footer"> all your footer content here </span>
HTH
 
V

Very Joyful \(Victoria\)

I would just add another class to my style sheet and apply the class to the
appropriate links.
 
V

Very Joyful \(Victoria\)

Sorry, I didn't see the whole post.

chris leeds said:
but the fp nav bar won't take that the right way because you can't actually
apply the class to the links and the word that represents the page you're on
isn't a link at all, it's just text.
the link to my little experiment explains it and there is link to the style
sheet I used to apply the effect to the fp nav bar.
 
W

Whit

Thanks, Chris... I think I'm following the discussion, but I need a quick
lesson with adding the SPAN.footer to my external.css sheet...

My footer content contains a mix of text and text links. I follow dropping
the <span class=footer> and </span> tags on each side of the footer
content, but what should my SPAN.footer definition look like in my external
sheet if I only want the defined font color and underline attributes to
apply to the links?

Thanks,
Whit
 

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