i love working with FW. But i recently started working with someone else who doesnt work on a mac-FW and who doesn’t like to see the css on the source code but always in a separate stylesheet.
when i think of it, i do find it nicer to work with the styles separate from the html.
we share the files and work along…
I would love to know, how i can create a ‘more clean’ html where the stylesheets are in the cssfolder.
( i’m to much pampered i suppose by FW I can’t find it anywhere.)
so the code would not be:
Site Name - Home
etc etc............
==========================================
I have just put up something.. doesnt make any sence i know, but just to show that the 2 has the stylesheet just as a link.. How do i do that??
First, select “External Stylesheets” in the Preferences. That will
move the CSS in the Head tag into the 'sheet.
As for the inline CSS, there are some Actions (Joe B. has a good one
as does Weaver but the names escape me) it is possible to remove most
of the inline CSS but due to how FW works I don’t think you’ll be able
to remove all of it, specifically the “body” and “html” CSS that FW
adds to each page. You’ll get close, but not all the way, which might
be enough for you, I don’t know.
Todd, thanks !! i even found a lot of articals here now, due to your answer… i did not have a clue how it was called, but now i found a lot of articles that handle the subject.
THank you so much.
Eugenie
It will take you part of the way you want to go but, sadly, will currently leave you a few steps away from total css abstraction bliss.
The action makes no attempt to consolidate the code it collects and externalises (just thinking about the issues makes me sweat!) but creates a new file for the JavaScript and CSS for each page (these will be stored alongside the host HTML file and be called .js and <basename.css> respectively.
If you choose to you can manually consolidate these files and link them back to Freeway but this will be a one way process and will need doing if the site ever gets updated.
I hope this helps.
Regards,
Tim ( twinned with Joe ).
On 15 Nov 2010, at 19:56, Todd wrote:
“Remove DIV Style” is Weaver’s and “Externalize” is Joe B. There may be others.
Thanks Tim, ( again!)
i did find it and it looks so great, 99% of what i needed.
i never realised that we freeway users are so spoiled… hahahaha
thnks very much!
Eugenie