[TYPO3-dev] which naming scheme for a CSS XHTML id

Christopher bedlamhotel at gmail.com
Thu Jun 8 23:00:33 CEST 2006


Hi,

On 6/8/06, Robert Markula <robert.markula at gmx.net> wrote:
> Hi Christopher,
>
> Christopher wrote:
> [...]
> > 1. Any given record already _has_ a uniqe id in the database, so why
> > not use that number in any required ids instead of a new numbering
> > system?
>
> I just checked the XHTML 1.0 strict/XHTML 1.1 specification, and the
> value of an id must start with a letter, not a digit.
> So just a plain rendering of the record id is not valid.
>

Yes, that's correct. I'm just talking about making the _unique_ part
of the id something like the uid (e.g. somthing like
id="product_{field:uid}_quantity")--or just TS configurable--but
again, I have no very specific purposes except that I approve of
building in flexibility where possible ;-)

-Christopher




More information about the TYPO3-dev mailing list