FreewayTalk

3 replies to this thread. Most Recent

The Big Erns

26 Jan 2007, 9:05 am

A suggestion for the future of inline styles...

Don’t get me wrong — inline styles are useful and have their place in the cascade order of things. But they don’t remove the styling very far from the content, which is a major goal for CSS layouts, and Freeway’s obsessive use of inline styles for positioning div/boxes can be frustrating for people like me pursuing that goal.

Well, recently I’ve been thinking about what could be an effective solution for this.

It all started when action-meister Weaver crafted an action for me to selectively remove the inline style from a div, allowing me to move that styling to the stylesheet. (Sweet!) Then I did some work which involved using more than one external stylesheet to a page, something not as unusual as it may sound. For me, it was further demonstration of how to take advantage of the cascade order.

My suggestion: Move all div styles to a [i:3399a1e967]separate external stylesheet[/i:3399a1e967] (position.css). List this new stylesheet [b:3399a1e967]first[/b:3399a1e967] in the page style declaration, which will allow the user to selectively over-ride them with styles in the user stylesheet. Leave extended inline styling controls as they are, so users can apply them when they decide to.

This setup would move all but user intended styling off the page, satisfying CSS goals and inconveniencing [u:3399a1e967]no one[/u:3399a1e967]. Softpress — if you’re listening, hear my prayer.

quote

Peter Emil

12 Jan 2010, 9:07 am

This post is quite old; I don’t know if there were actions made after your post BigErns… But I’m new to the Freeway Forum and after reading the guide and downloading the trialversion of FW5Pro I really like to get it working for me as a solid prototyping-tool. I like to have multiple external stylesheets, no standard inline-styling and a way to get the generated files over to CMS-es like MOD-x, Typolight, WordPress. I read that for EE there are actions, but I’m starting up and have to keep initial costs low…

Hope you or someone else from the community can shed more light on this subject. Or has it died in silence?

PE

quote

Tim Plumb

12 Jan 2010, 10:29 am

Hi Peter, You could try the beta of the Externalize action at http://www.freewayactions.com/test/externalize/

Regards, Tim.

quote


Extend Freeway the way you want with FreewayActions.com

http://www.freewayactions.com

Back to Top

chuckamuck

12 Jan 2010, 4:02 pm

Although this does not address the need for externalizing CSS, it does however offer a way to use external style sheets and external javascript.

http://www.freewaytalk.net/thread/view/53620#m_53620

quote

Freeway Pro 5, G4 Powerbook 1.33 ghz 1.25gb ram, 2.3 ghz Dual Core MacPro 10gb ram

FreeCounter