Z.NoNgHAoQuAn.M 2022-10-14 14:44 采纳率: 81.4%
浏览 48
已结题

html5网页设计设

我想把用户名后面的输入框框取消掉 要怎么取消
还有最下面的虚线取消
他的框框长度text 和password的长度不一样

img

.tdb{ text-align: right;}
.tda{ text-align: center;}
.tdc{ text-align: left;}
td{ text-align: left;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: none ;
    border-bottom-width: 1px;
    border-bottom-style: dashed;
    border-bottom-color: darkmagenta;
  }
.picbutton{     border-width: 0px;
        padding: 0px;
        margin: 0px;
        width: 55px;
        height: 20px;
        background-image:url(../img/button.png);
        font-size: 14px;}
.ziti{
      font-family: "楷体";
      font-weight: bold;    
}
.shuru{
      border-top: none;
      border-left: none;
      border-right: none;
  
      border-bottom-width: 1px;
      border-bottom-style: dashed;
      border-bottom-color: darkmagenta;
  }


<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>表格表单练习</title>
        <link rel="stylesheet" type="text/css" href="css/tdstyle.css"/>
    </head>
    <body>
        <form action="" method="get">
        <table border="0" cellspacing="0" cellpadding="2" align="center" >
        <tr><td colspan="2"><img src="img/1000phone.jpg" height="40" width="300" align="center"/></td></tr><br />
        <tr bgcolor=greenyellow>
            <td class="tdb ziti">用户名:</td>
            <td><input type="text" name="stuname"size="15" /></td>
        </tr><br />
        <tr bgcolor=chartreuse>
            <td class="tdb ziti">密码:</td>
            <td><input type="password" name="tlphone" size="15" /></td>
        </tr><br />
        <tr bgcolor=greenyellow>
            <td class="tdb ziti">确认密码:</td>
            <td><input type="password" name="tlphone" size="15"/>
            </td>
        </tr><br />
        <tr bgcolor=chartreuse>
            <td class="tdb ziti">电子邮件:</td>
            <td><input type="text" name="dianziyoujian" size="15" </td>
        </tr><br />
        <tr bgcolor=greenyellow>
            <td class="tdb ziti">电话:</td>
            <td><input type="text" name="dianhua" size="15" </td>
        </tr><br />
        <tr>
            <td  colspan="2" class="tda" >
            <input type="submit" value="登录"class="picbutton ziti" border=bottom: none />    
            <input type="reset" value="重填"/class="picbutton ziti">
            </td>
        </tr>
        </table>
        </form>
    </body>
</html>



  • 写回答

3条回答 默认 最新

  • chongya_123 2022-10-14 14:58
    关注

    input外边框取消outline: none; border: none;input框长度width固定像素即可

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

问题事件

  • 系统已结题 10月22日
  • 已采纳回答 10月14日
  • 创建了问题 10月14日

悬赏问题

  • ¥15 微信会员卡等级和折扣规则
  • ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
  • ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
  • ¥15 gdf格式的脑电数据如何处理matlab
  • ¥20 重新写的代码替换了之后运行hbuliderx就这样了
  • ¥100 监控抖音用户作品更新可以微信公众号提醒
  • ¥15 UE5 如何可以不渲染HDRIBackdrop背景
  • ¥70 2048小游戏毕设项目
  • ¥20 mysql架构,按照姓名分表
  • ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分