Yeah, this is tricky stuff. Looking at your earlier question (for the benefit of future searchers) the answer was to quote the name of the file you were trying to include.
But the styling will take some patience and hand-work in the CSS files themselves. What you’ll need to do is remove (or move) any of the style rules that relate to the body, html, any tag name like p, h1, div, etc., and “scope” them to just the part of the page where you want those rules to apply. If you are including this blob of PHP-generated HTML inside a single DIV (HTML box) on your page, then this becomes easier: just prepend the ID of that DIV to the style rule’s selector (the part outside of the curly-braces).
//original rule
p {
font-family: Verdana, sans-serif;
font-size: 1.3em;
color: #333;
}
//becomes:
#yourDiv p {
… same ...
}
That leading ID becomes the switch that turns off the rule for everything except children of that particular DIV.
If you can create a test page (it doesn’t have to be PHP, just copy and paste the contents of View Source from your browser when you’re viewing the MAMP-hosted site) and post it somewhere, there are several of us on this list who are well-versed in reading source and making sense of it.
Walter
On Jun 22, 2012, at 8:28 AM, hugh wrote:
Hi David,
Don’t have a link - testing it on a local MAMP installation.
I have actually made progress, and the PHP include is now working! However, there are CSS issues to resolve - the script uses CSS and there are umpteen CSS files. I’m having to link to these in the freeway document by adding s in the , but they seem to be dominating the Freeway styling, so there are obviously duplications going on. Somehow I need to subvert the script CSS to affect only the script part of the output freeway .php file…!
Hmm…
Hugh
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options