你怎么能删除CreateUserWizard控件的表标签 [英] How can you remove the table-tags in CreateUserWizard control

查看:202
本文介绍了你怎么能删除CreateUserWizard控件的表标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用CreateUserWizard控件,无需渲染它的HTML表格?

我已经定制了CreateUserWizard控件的布局,我使用的CSS样式它。我的按钮是太远离我的形式,由于<表> 标签asp.net默认情况下渲染。

 <表CELLSPACING =0的cellpadding =0ID =cphContent_CreateUserWizard1的风格=边界崩溃:崩溃;>
    <&TBODY GT;
        < TR风格=高度:100%;>
            &所述; TD>
                <表CELLSPACING =0的cellpadding =0的风格=高度:100%;宽度:100%;边境崩溃:崩溃;>
                    <&TBODY GT;
                        &所述; TR>
                            < TD风格=高度:100%;宽度:100%;>
                                <&字段集GT;
                                    ...
                                < /字段集>
                            < / TD>
                        < / TR>
                    < / TBODY>
                < /表>
            < / TD>
        < / TR>
    < / TBODY>
< /表>


解决方案

您仅仅是因为控制格式化这种方式不能从控制删除表标签。

How can I use the CreateUserWizard control without having it render html tables?

I've customized the layout of the CreateUserWizard, and I'm using css to style it. My button is too far away from my form, due to the <table> tags asp.net is rendering by default.

<table cellspacing="0" cellpadding="0" id="cphContent_CreateUserWizard1" style="border-collapse: collapse; ">
    <tbody>
        <tr style="height: 100%; ">
            <td>
                <table cellspacing="0" cellpadding="0" style="height: 100%; width: 100%; border-collapse: collapse; ">
                    <tbody>
                        <tr>
                            <td style="height: 100%; width: 100%; ">
                                <fieldset>
                                    ...
                                </fieldset>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>

解决方案

You simply can not remove the table-tag from the control because the control is formatted this way.

这篇关于你怎么能删除CreateUserWizard控件的表标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆