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

Form Hint

Discussion in 'Styling and Customization Questions' started by ragtek, Sep 12, 2011.

  1. ragtek

    ragtek Guest

    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
     

Share This Page