[TYPO3-content-rendering] [Typo3-dev] Less features, more future
Elmar Hinz
elmar.hinz at vcd-berlin.de
Thu Oct 13 22:24:58 CEST 2005
>>I think JoH is refering to generating the CSS dynamically, and
>>assigning UNIQUE "id"s to each element that needs to be styled. So
>>instead of:
>>
>> <div style="width:150px;">
>>
>>we would have:
>>
>> #div78234892524 { width: 150px; }
>
>
> Not exactly.
> Since every content element can be defined by
> a) the table it is taken from and
> b) the uid
> you can take this to have the following combination of class _and_ id:
>
> <div class="single_imagecontainer" id="tt_content_123_1">
>
> and for the next one
>
> <div class="single_imagecontainer" id="tt_content_123_2">
>
> and so on.
>
It could come to cases, where you have
<div class="single_imagecontainer" id="tt_content_123_1">
twice on a page. The id wouldn't be unique anymore.
Regards
Elmar
--
Climate change 2005: Guatemala, New Orleans, Sahel, Bangladesh, Spain,
Portugal, Austria, Swiss, France, ...
Production of CO2 is killing people.
Production of CO2 just for fun is killing people just for fun.
More information about the TYPO3-project-content-rendering
mailing list