[TYPO3-v4] CSS styled content for HTML 5 (Draft attached)
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Thu Oct 7 21:49:40 CEST 2010
Ernesto Baschny [cron IT] wrote:
> Hi,
>
> splitting it up even more makes it more difficult to maintain. New
> features will have to be added on all static templates we ship.
>
> Cheers,
> Ernesto
Probably it's possible (to a certain degree) to define the classes and
_maybe_ whole element names (tags) as constants and use them in the
typoscript setup.
So it would be possible to change the constants simply.
But for sake's simplicity and maintainability it would make more sense
imo to just provide two sets of static templates.
But there's more - still some hard-coded HTML tags etc. in the file
"class.tx_cssstyledcontent_pi1.php" and probably in other places too.
Also the default CSS for CSC is not completely optimized. I'm no CSS
expert, but e.g. Google PageSpeed (Firebug Plugin) is scared about
definitions like "div.csc-textpic-border div.csc-textpic-imagewrap
.csc-textpic-image img" which could be shortened maybe. (Had no closer
look at it until now - but there were some situations where I needed to
adapt the default CSS repeatedly on some projects - no bad criticism!)
Regards,
Thomas
More information about the TYPO3-project-v4
mailing list