[TYPO3-content-rendering] TYPO3 4.7 HTML5 CSC elements could be improved IMHO

Patrick Broens patrick.broens at typo3.org
Mon Jul 9 11:51:43 CEST 2012


Hi,

This has nothing to do with HTML5 CSC elements, but CSC in general (also
XHTML and HTML4 doctypes). The mentioned classes have always been
separated from the header. This is not new, it never did.

However, this is an interesting topic. After the holidays the Content
Rendering Team will start up again, and I'll put it on the agenda.

Cheers

Patrick

On 28-5-12 21:53 , Riccardo De Contardi wrote:
> 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
> 
> 


-- 
Patrick Broens
TYPO3 Core Team member

TYPO3 .... inspiring people to share!
Get involved: typo3.org




More information about the TYPO3-project-content-rendering mailing list