Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Req: Take into account stylesheet in editing mode

Req: Take into account stylesheet in editing mode

Patrick Ansari
Saturday, August 24, 2002

I doubt if this is possible, because CSS files can contain CD script. Same problem as with a template that uses variables to define external URLs.

Michael Wild
Thursday, September 05, 2002

Hi all,

I think that CD could support inserting style classes for few basic elements (ie. for current <P>, <A>, lists and <IMG> tags). Classes list may be retrieved from css sheets linked to current page and/or found in page code.

I'm aware that support for more sophisticated usage will be too complicated just because it require editing of code, not content, thus implementing it wouldn't be worth the mess. But such simple support will be quite useful. Currently I decided to create simple site using Starter Ed. to test the CD throughly and few times I swithed to HTML code and back again to insert class attributes.

Best regards
Lukasz

Lukasz Pogoda
Sunday, September 08, 2002

*  Recent Topics

*  Fog Creek Home