[TYPO3-v4] CSS styled content for HTML 5 (Draft attached)
Thomas "Thasmo" Deinhamer
thasmo at gmail.com
Wed Oct 6 14:43:32 CEST 2010
Am 06.10.2010 10:10, schrieb Dmitry Dulepov:
> Lots of junk in HTML increases load times and makes markup/content ratio
> much worse, which is bad for SEO.
You're absolutely right - I'm also removing all unneccesary wrappers,
attributes, classes, clear-elements, comments, etc.
That's why I came up with this HTML 5 compatible improvement for CSC.
The new definitions have some little improvements which get rid of
additional/useless wrappers and classes, but in many situations it's
needed to have certain classes in place.
And I prefer this:
<section id="c1" class="class1 class2 class3">
CONTENT
</section>
instead of this:
<a id="#c2"></a>
<section>
<div class="class1 class3">
<div class="class2">
CONTENT
</div>
</div>
</section>
I had a look at TemplaVoila some months ago, but I figured it out to be
too overpowered for a lot of our projects and using the default TYPO3
template system with markers fits well - and is also quite powerful when
nesting TEMPLATE objects. (Although I don't use subparts, cause they
suck, but markers are useful!)
Maybe you're right and some classes are too much (csc-content,
csc-plugin, csc-frame) but in case of our projects it's quite useful to
have them in place and have proper CSS to target specific elements.
I think TemplaVoila should handle/override CSC settings if TV doesn't
need it - would make sense imo.
Regards,
Thomas
More information about the TYPO3-project-v4
mailing list