I’m using some PHP code on a page to display different message text. I want to use CSS styles to control the formatting of the text. The problem is that FW won’t include the style on the page because it isn’t being used as far as FW is concerned. If I use the style on any html text on the page, then FW happily includes the style definition.
Other than having a space character with the style applied, how do I force FW to include it when the page is published? (As a note, the styled space character technique certainly wouldn’t work if you were changing things like background color.)
Thinking this through, is it possible to have multiple style definition blocks on the same page? Of course, using that technique brings me back to the problem of http markup on the master page not being applied to the child pages and therefore having to remember to edit the same text on every page. There must be an easier way!
I was just working on a site today with this issue, and all I had to do was turn on Use External Stylesheets and the problem went entirely away. By default, Freeway uses a single stylesheet for the entire site, so as long as you have an example of this type style somewhere else in the site, the style will be generated and linked to every page in the site.
On 7 Mar 2009, 3:08 am, waltd wrote:
Another approach is to put some scraps of the styles in a non-layered HTML box somewhere on the pasteboard of the page, that will put the styles into the page pretty simply.
Yeah, that’s what David suggested. I put an HTML box on the pasteboard of the master page and applied the style to it. Presto Change-o all the pages worked.