#70 CSS within a page

closed
nobody
None
5
2012-09-19
2010-11-21
Charles
No

With the other idea of combining CSS & JSS on the fly I had forgotten that in general you cannot add CSS within a page without having invalid markup. This can be somewhat of a nuisance at times.

Example:
I'm making a simple auto slideshow gadget. If styled in the theme then only one version or you need a different layout, etc. . or you must style inline which is lots of extra code. ( I did notice this feature request:https://sourceforge.net/tracker/?func=detail&aid=3026746&group_id=264307&atid=1132198 = gives page a number for styling )
Which can work in general. This idea however would have the following features:

a simple hook for css, [gp_style] .class {display:inline;} [/gp_style], that could be allied within CKEditor
it would be combined with the other css on the fly, of course at the very end to override any other.

Just an idea. . . the previous feature request does satisfy the needs, in general. However, if this idea is easy to integrate into the CSS/JS on the fly combining then it just makes it that much easier and intuitive.

Feel free to close this feature request if it's not worth the bother ;)
Thx

Discussion

  • Charles
    Charles
    2011-02-09

    closed, added to gpEasy feature request page.