表格样式

4 篇文章 0 订阅
2 篇文章 0 订阅
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>reportIntelligence</title>
    <link href="form.css" rel="stylesheet" type="text/css">
</head>

<body>
<p>reportIntelligence</p>
<div>
    <form action="reportIntelligence" method="post" class="form-style">
        <h1>create intelligence by random<span>choice the button</span></h1>
        <label>
            <span>host:</span>
            <input name="host" value="" type="text">
        </label>

        <label>
            <span>appKey:</span>
            <input name="appKey" value="" type="text">
        </label>

        <label>
            <span>appSecret:</span>
            <input name="appSecret" value="" type="password">
        </label>

        <label>
            <span>&nbsp;</span>
            <input name="choice" value="more" type="submit"class="button">

            <span>&nbsp;</span>
            <input name="choice" value="end" type="submit" class="button">

            <span>&nbsp;</span>
            <input name="choice" value="one" type="submit" class="button">
        </label>
        
    </form>


    <form action="reportIntelligence" method="post" class="form-style">
        <h1>create intelligence by custom<span>insert the information of intelligence</span></h1>


        <label>
            <span>host:</span>
            <input name="host" value="" type="text">
        </label>


        <label>
            <span>appKey:</span>
            <input name="appKey" value="" type="text">
        </label>

        <label>
            <span>appSecret:</span>
            <input name="appSecret" value="" type="password">
        </label>

        <label>
            <span>intelligenceNumber:</span>
            <input type="text" name="intelligenceNumber">
        </label>

        <label>
            <span>typeDictionaryCode:</span>
            <select name="typeDictionaryCode">
                <option value="C0000">C0000</option>
                <option value="C0001">C0001</option>
                <option value="C0002">C0002</option>
                <option value="C0003">C0003</option>
                <option value="C0004">C0004</option>
            </select>
        </label>

        <label>
            <span>description:</span>
            <textarea name="description" value="description"></textarea>
        </label>

        <label>
            <span>details:</span>
            <input type="text" name="details" value="details">
        </label>

        <label>
            <span>occurLocation:</span>
            <input type="text" name="occurLocation" value="occurLocation">
        </label>

        <label>
            <span>longitude:</span>
            <input type="text" name="longitude" value="103.00~105.99">
        </label>

        <label>
            <span>latitude:</span>
            <input type="text" name="latitude" value="30.00~35.99">
        </label>

        <label>
            <span>sourceDictionaryCode:</span>
            <select name="sourceDictionaryCode">
                <option value="C0001">C0001</option>
                <option value="C0002">C0002</option>
                <option value="C0003">C0003</option>
            </select>
        </label>

        <label>
            <span>levelDictionaryCode:</span>
            <select name="levelDictionaryCode">
                <option value="LEVEL_ONE">LEVEL_ONE</option>
                <option value="LEVEL_TWO">LEVEL_TWO</option>
                <option value="LEVEL_THREE">LEVEL_THREE</option>
            </select>
        </label>


        <label>
            <span>remark:</span>
            <input type="text" name="remark">
        </label>

        <label>
            <span>&nbsp;</span>
            <input name="choice" value="selfDefine" class="button" type="submit">
        </label>
    </form>

</div>
</body>
</html>
.form-style{
    margin-left: auto;
    margin-right: auto;
    max-width: 1000px;
    background: #F7F7F7;
    font: 12px Georgia, "Times New Roman", Times, serif;
    color: #888;
    text-shadow: 1px 1px 1px #FFF;
    border:1px solid #E4E4E4;
	padding:10px;
}

.form-style h1 {
    font-size: 25px;
    padding: 0px 0px 10px 40px;
    display: block;
    border-bottom:1px solid #E4E4E4;
    margin: 10px 15px 30px 10px;
    color: #888;
}
.form-style h1>span {
    display: block;
    font-size: 11px;
}
.form-style label {
    display: block;
    margin: 0px;
}
.form-style label>span {
    float: left;
    width: 20%;
    text-align: right;
    padding-right: 10px;
    margin-top: 10px;
    color: #888;
}
.form-style input[type="text"], .form-style input[type="password"],.form-style textarea, .form-style select {
    border: 1px solid #DADADA;
    color: #888;
    height: 30px;
    margin-bottom: 16px;
    margin-right: 6px;
    margin-top: 2px;
    outline: 0 none;
    padding: 3px 3px 3px 5px;
    width: 70%;
    font-size: 12px;
    line-height:15px;
    box-shadow: inset 0px 1px 4px #ECECEC;
    -moz-box-shadow: inset 0px 1px 4px #ECECEC;
    -webkit-box-shadow: inset 0px 1px 4px #ECECEC;
}
.form-style textarea{
    padding: 5px 3px 3px 5px;
}
.form-style select {
    /*background: #FFF url('') no-repeat right;*/
    /*background: #FFF url('') no-repeat right;*/
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance: none;
    text-indent: 0.01px;
    text-overflow: '';
    width: 70%;
    height: 35px;
    line-height: 25px;
}
.form-style textarea{
    height:100px;
}
.form-style .button {
    background: #E27575;
    border: none;
    padding: 10px 25px 10px 25px;
    color: #FFF;
    box-shadow: 1px 1px 5px #B6B6B6;
    border-radius: 3px;
    text-shadow: 1px 1px 1px #9E3F3F;
    cursor: pointer;
}
.form-style .button:hover {
    background: #CF7A7A
}
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值