FP 2003 includes and CSS

P

Pam

I have a site at http://www.gatewaysaddleclub.com where I am trying to go
thru each page and remove formatting (UGH)
and then link each page to the main style sheet. Everything is going well
(although slowly since I'm still on a learning curve with CSS) but I can't
figure out how to make the 'footer' properties different than the main page
its included on.

the main page is linked to gsc.css stylesheet - I tried linking the
footer.htm to the main ss but then I have the background show up - so I made
a footer.css ss and it looks great until I view the page that its included
on ... it seems the p properties take over once I inlcude the page. How do I
override the properties on an included page? I even tried to make a psuedo
class in the main ss such as .footer .... but I must be doing something
wrong there too.

can someone help me figure this out please?

thanks
Pam
 
R

rfr

If you are using IFRAMES to do the includes, then whatever CSS is being
evoked by that loaded HTML being included in the IFRAME will take presidence
to control that portion of the whole document. So far, I am not aware of
having any problems with interference with CSS styles from the IFRAME
include in other parts of the document.

However, if you are using the FrontPage INCLUDE/PAGE features, then the CSS
in the included document will be ignored ( all the stuff in the header
section of the included document will be ignored). In this case you need to
put the footer CSS in the CSS being called by the main document. It seems to
me, tho I am no expert on this, that you should be able to ID and CLASS your
footer containers in a way that does not interfere with any containers
styles in the header or main section of the document.

I use Frontpage INCLUDE/PAGE alot. I develope the includes in a way that
does have the CSS for that section active so that I can visualize that I
have what I want in that document on a stand-alone basis. I then make sure
the CSS for the header and footer and other includes is in the main CSS. I
have no problem with CSS overlapping and messing up other sections if I plan
ahead using ID and CLASS to limit the application of CSS styling to those
areas that I want it.
 
Top