After a long hiatus, I’m doing some work in Freeway again. Using version 3.5.15 (build 4304). Am trying to add CSS to a formerly just Default HTML 3.2 site. I can’t get any CSS to apply.
I’m specifically trying to eliminate paragraph spacing (padding) of text in tables. If you could, please, look at Roman Holiday 01 Arrival, and the text in the cell to the right of the second picture, beginning 01-02…
I’d like to be able to add several lines to the heading and format them as paragraphs with no space between, so that I can mix bold and regular (and perhaps some italic) lines without having to select and style text word by word, as is now done. (And use CSS for indents and a few other tweaks.)
But I can’t make FW add CSS styling to this suite of pages. I have changed the Document Setup > Default HTML setting from 3.2 to 3.2+CSS. I have changed the space Before and Space After settings for several existing paragraph styles. I have even added Extended attributes of margin-bottom 0, etc. to styles, and nothing happens. FW 3.5.15’s preview is exactly the same as before I edited my styles, and the code generated is exactly the same as before I changed to Default HTML.
I’ve done a forced Publish Everything. I see no CSS definitions in my page source, neither in the header or the body of any pages. Note I’m no CSS maven. Compared to InDesign style sheets CSS is a major pain in the patoo to me, but I’m coming along. Or was, in GoLive, but Freeway has me stumped. I must be missing something so basic I’ll never figure it out.
Any suggestions as to getting CSS up and running for this FW document would be greatly appreciated.
Well that takes me back. Freeway 3.5.15. If I had it still laying around I’d start up a new doc and see what I can do. I do see there is no CSS in your published link. Is HTML 3.2 the only output type? Perhaps HTML 4.01 Transitional would be in there.
Long time ago, not sure what was available. Perhaps someone else can chime in here.
You said you have changed the Document Setup > Default HTML setting from 3.2 to 3.2+CSS. Have you changed the encoding for existing pages? I’m guessing that you haven’t, since the page you link to is simply HTML 3.2 without any CSS. The Default HTML setting in Document Settings will only affect new pages.
For each existing page, you need to select the page and reset the HTML version using the Inspector.
Thank you, Michael. That was the “basic” problem. Interesting that the documentation says, “You can use the Document Setup command on the File menu to change this for the document (including any new pages and master pages) at any time.” To my mind, implying just the opposite of the true situation. That was my mistake.
When I use the Site Palette to click to a new page, the Inspector says “HTML: 3.2+CSS,” as I expected to see per the documentation. But, if I click on any item on the page, and then click on the page to deactivate that item, the Inspector changes to saying “HTML: 3.2” I can then set the level for the existing page, and the change to “with CSS” indeed takes place in Preview. I’m assuming it will carry through to Publishing.
OK, all you very kind and patient folks may consider this thread closed. From now on it’s just me versus CSS. Most of what I want to do is probably very simple, just learning a new syntax system and deciding how most efficiently to use or suppress the idiotic HTML default paragraph spacing.
But what’s with a “margin-bottom: 0.1px” value? You can’t have a fraction of a pixel shown on screen. Talk about pixellated.
Anyhow, the URL given above is being updated live every few minutes, just as a test over the course of the morning. Thanks and thanks!
Oh, well, They Who Shall Not Be Named. Say no more. Please! I’m having fun diddling around with simple text formatting in CSS. Would take a long time to learn to make FW 3.5.15 do all the inheritances I should set up. Or maybe not that long. I don’t think good ol’ 3.5.15 does External Style Sheets, which is why I didn’t try this earlier. That would really be the way to go.
Luckily the layout I’m using is really just as well off using Tables for the basic positioning, so a little text formatting is interesting.