Styles, classes and external CSS?

Recommendations for quick fix? I’ve built a set of pages for a server
admin interface and the programmers who will be implementing it have
said the following:

>New design has styles like <tag style="border=black" > , we should 
>move it to class="class1" and add css file

If necessary I’ll edit the HTML with BBEdit, but of course I’d much
rather do at least some of the remedial work in Freeway.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

How about the externalise CSS styles action?

David

On 20 Jan 2010, at 09:21, Keith Martin wrote:

If necessary I’ll edit the HTML with BBEdit, but of course I’d much rather do at least some of the remedial work in Freeway.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Indeed, the Externalize action will do this;
http://www.freewayactions.com/test/externalize/

I’d suggest selecting the ‘Move inline styles to the document head’
option and leave the ‘Externalize head styles’ option switched off.
This will collect all of the inline styles and make classes from them
which are then stored in the page head.
You could choose to externalize these if you wanted to but because of
the way that the action currently creates a css file for every page
this may be overkill for your project.
Give it a test Keith and let me know how you get on with it.
Regards,
Tim.

On 20 Jan 2010, at 10:51, David Owen wrote:

How about the externalise CSS styles action?

David

On 20 Jan 2010, at 09:21, Keith Martin wrote:

If necessary I’ll edit the HTML with BBEdit, but of course I’d
much rather do at least some of the remedial work in Freeway.

FreewayActions.com - Freeware and commercial actions for Freeway
Express & Pro.

Protect your mailto links from being harvested by spambots with Anti
Spam.
Only available at FreewayActions.com

http://www.freewayactions.com


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Sometime around 20/1/10 (at 11:05 +0000) Tim Plumb said:

because of the way that the action currently creates a css file for
every page this may be overkill for your project.

Yes, I was wondering about that. Thanks for the advice, both of you.
I’ll do this and consider externalising and reconciling the multiple
CSS files into one by hand. The site structure is so master
page-based that I should be able to do this without too much hassle.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options