[TYPO3-content-rendering] TYPO3 4.7 HTML5 CSC elements could be improved IMHO
Stephen Bungert
stephenbungert at yahoo.de
Sun Jun 24 15:21:56 CEST 2012
Why don't you just create a new header type? Then select it when you create
an "images only" ce.
I dislike that div mess that comes by default, I always remove that stuff
too.
"Riccardo De Contardi" <riccardo.decontardi at bhuman.it> schrieb im
Newsbeitrag
news:mailman.1.1338234825.10737.typo3-project-content-rendering at lists.typo3.org...
> Let's see if I can explain myself with an example:
>
> This is the rendered HTML of a csc element, type "images only"
>
> <div class="csc-default" id="c37">
> <header class="csc-header csc-header-n2">
> <h2>My header</h2>
> </header>
> <div class="csc-textpic csc-textpic-center csc-textpic-above">
> <div class="csc-textpic-imagewrap">
> <div class="csc-textpic-center outer">
> <div class="csc-textpic-center-inner">
> <figure class="csc-textpic-image csc-textpic-last"><a
> href="my-page/">
> <img width="398" height="189" alt=""
> src="uploads/pics/cover_my-image.jpg"></a>
> </figure>
> </div>
> </div>
> </div>
> </div>
> </div>
>
> Ok, then...what if I want to change the appereance of the <header> tag
> ONLY for this type of content? As the only external class avaliable
> is csc.default which is shared between all elements... I can't!! (Unless I
> want to add some values to the section_frame field)
>
> IMHO it could be better using something like:
>
> <div class="csc-default csc-textpic csc-textpic-center csc-textpic-above"
> id="c37">
>
> What do you think?
> Thank you for your support and best regards
>
>
> --
>
> --------------------------------------------
> Riccardo De Contardi – TYPO3 Certified Integrator
> B Human Srl - www.bhuman.it <http://www.bhuman.it>
> Via Canzio, 15 - 20131 Milano
> TEL +39-02-20.23.271 - FAX +39-02-20.240.561
> --------------------------------------------
More information about the TYPO3-project-content-rendering
mailing list