• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Form Hint

R

ragtek

Guest
#1
Is there any reason, why the "hint" class requires a parent li element to work?

Code:
    <dl class="ctrlUnit">
        <dt>Info</dt>
        <dd>
            <input type="text" name="title" value="{$attender.guest}" class="textCtrl" maxlength="100"/>

            <p class="hint">Diese Info sehen nur der Threadersteller und das xxxx Team</p>

        </dd>
    </dl>
doesn't work

Code:
    <dl class="ctrlUnit">
        <dt>Info</dt>
        <dd>
            <ul>
                <li>
                    <input type="text" name="title" value="{$attender.guest}" class="textCtrl" maxlength="100"/>
                    <p class="hint">Diese Info sehen nur der Threadersteller und das xxxx Team</p>
                </li>
            </ul>
        </dd>
    </dl>
works, but is it really necessary to have a list here?:D