[TYPO3-dev] indexed search: where is the css template?
Christopher
bedlamhotel at gmail.com
Mon Mar 20 18:24:27 CET 2006
Hi Robert,
On 3/20/06, Robert Markula <robert.markula at gmx.net> wrote:
<snip>
> I have a problem with the CSS based template I'm working on.
> To link a label with the appropriate form field [1], I have to convert
> the *classes* of form fields to *ids* (like
> 'class="tx-indexedsearch-searchbox-sword sword"' to
> 'id="tx-indexedsearch-searchbox-sword sword"').
>
> The problem now is that spaces are not allowed in id's.
>
> I would really like to use labels (and link them with the fields), as
> they are
> (1) The semantically correct way to connect fields with field descriptions,
> (2) Enhance usability (just click on the label and the field is
> automagically selected) and
> (3) The rule for accessible forms is to connect the labels with the
> appropriate form fields.
>
> Can you (or anybody else) give me a hint on how to proceed?
What would be wrong with this:
id="tx-indexedsearch-searchbox-sword" class="sword"
Or am I misunderstanding the nature of the problem?
-Christopher
More information about the TYPO3-dev
mailing list