喜悦国际村 » XML/HTML/CSS/Js » 显示很不正常啊

页: [1]
lman2008-6-10 09:32 AM
显示很不正常啊

[code]<!--会员登录-->
            <!--
                        本模板使用Ajax技术判断用户是否登录,如果你改动了模板,
                        必须指定id=loginform 的区域作为返回内容
                        -->
        <span id="_loginform">
                <div class="rlist">
                <form name='form1' method='POST' action='{dede:field name='memberurl'/}/index_do.php'>
                        <input type="hidden" name="fmdo" value="login">
                        <input type="hidden" name="dopost" value="login">
                        <input type="hidden" name="gourl" value="">
                        <div class="title">会员登陆</div>
                        <div class="rbox userlogin">
                                <dl>
                                        <dt>用户名:</dt>
                                        <dd><input name="userid" class="username" type="text" maxlength="20" /></dd>
                                </dl>
                                <dl>
                                        <dt>密码:</dt>
                                        <dd><input name="pwd" class="password" type="password" maxlength="20" /></dd>
                                </dl>
                                <dl>
                                        <dt>验证码:</dt>
                                        <dd>
                                                <input name="vdcode" class="gdcode" type="text" size="4" maxlength="4" />
                                                <img src="{dede:global name='cfg_cmspath'/}/include/validateimg.php" alt="gdcode" />
                                        </dd>
                                </dl>
                                <div class="ulsubmit">
                                        <input type="submit" value="会员登陆" class="submit" />
                                        <a href="{dede:field name='memberurl'/}/index_do.php?fmdo=user&dopost=regnew">免费注册</a>
                                </div>
                        </div>
            </form>
                </div>
                     </span>
                <script language="JavaScript">CheckLogin();</script>
      <!--会员登陆结束-->[/code]
[code]/*-------------------------右侧:白底常规列表定义*/
.rlist{
        width:271px;
}
.rlist .title{
        width:271px;
        height:19px;
        padding-top:9px;
        background:url(../images/rlist_title_bg.gif) no-repeat;
        text-indent:10px;
        font-weight:bold;
        letter-spacing:2px;
        color:#444;
}
.rlist .rbox{
        border:0px solid #E2E2E2;
        width:268px;
}

/*-------------------------侧栏:用户登录*/
.userlogin {
        overflow:hidden;
}
.userlogin dl{
        clear:both;
        height:23px;
        line-height:23px;
        margin-top:7px;
}
.userlogin dl dt{
        float:left;
        display:block;
        width:66px;
        text-align:right;
}
.userlogin dl dd{
        float:left;
}
.userlogin dl dd input{
        height:13px;
        width:120px;
        font-size:12px;
        padding:3px 0 3px 5px;
        border-width:1px;
        border-style:solid;
        border-color:#808080 #D4D0C8 #D4D0C8 #808080;
}
.userlogin dl dd img{
        vertical-align:middle;
}
.userlogin dl dd input.gdcode{
        width:50px;
}
.userlogin .ulsubmit{
        text-align:center;
        margin-top:15px;
        height:33px;
}[/code]

herong2008-6-20 03:38 AM
作为新手的,这需要个人慢慢琢磨、修改找代码原因,
琢磨成功了,经验值就升一级;
这是新手必经之路!

qiuaaa2008-6-25 09:01 AM
加一个
text-align:left;


查看完整版本: 显示很不正常啊


Powered by Discuz! Archiver 6.1.0  © 2001-2006 Comsenz Inc.
Processed in 0.158937 second(s), 2 queries