HTML中两个行类之间的间隔(角)

阿基列什·波图里

我的HTML页面上有3行,每行2列,并带有一些标签和输入。我看到尝试删除但行不通的行之间有很多空间。有办法吗?这是HTML代码:

<div >
    <h1>
        New Patient Record
    </h1>
</div>
<div class="row" style="padding-bottom: 0px;">
<div class="column"></div>
<div class="column">
<label > <strong>Date</strong> </label>
<input type="date"   name="date" id="date"  class="form-control" [(ngModel)]="institutes.date">
</div>
</div>
<div class="row" style="padding-top:0px" >
        <div class="container" style="padding-left: 7.5%" >
            <form #institutesForm="ngForm" (ngSubmit)="instituteLogins(institutesForm)">
                    <div class="form-group">
                            <div class="row">
                                    <div class="column">             
                                            
                       
        <h2><strong> Symptoms</strong> </h2>
        <input type="text"  name="symtoms" id="symtoms"   class="form-control"[(ngModel)]="institutes.symtoms">
        
        <br>
        <h2><strong>Diagnosis</strong></h2>
        
        <label> <strong>Condition</strong> </label>
        <input type="text"  name="condition" id="condition"   class="form-control"[(ngModel)]="institutes.condition">
        <label><strong> Advice </strong></label>
        <input type="text"  name="advice" id="advice"   class="form-control"[(ngModel)]="institutes.advice">
        <br>
        
    </div>
    <div class="column">
        <h2> <strong>Prescription</strong> </h2>
        <br>
        <label><strong> Medication </strong></label>
        <input type="text"  name="medication" id="medication"   class="form-control"[(ngModel)]="institutes.medication">
        <label><strong> Medicine Type </strong></label>
        <input type="text"  name="type" id="type"   class="form-control"[(ngModel)]="institutes.type">
        <label><strong>Course</strong></label>
        <input type="text"  id="course" name="course"  class="form-control"[(ngModel)]="institutes.course">
        <label><strong> How many per day? </strong></label>
        
        
        <input type="text"  name="cday" id="cday"   class="form-control"[(ngModel)]="institutes.cday">
        <br>
    </div>
    <div class="row">
        <div class="column"></div>
        <div class="column">
        <button id="record"  class="btn btn-primary" type="submit" >Add Record</button>
    </div>
</div>
   
       </div>
        <br><br>
        
                    </div>
                     </form>
                    
    </div>

这是我尝试的所有操作:我尝试使用边距和填充来调整行距,但没有一个起作用。还有其他选择吗?

.modal-dialog.cascading-modal.modal-avatar .modal-header img {
    width: 130px;
    margin-left: auto;
    margin-right: auto;
}

.modal-dialog.cascading-modal.modal-avatar .modal-header {
    margin: -6rem 2rem -1rem 2rem;
}
.More{
    color: blue;
    margin-right: 100px;
}
.column{
    margin : 100px;
}
.row{
    margin:0;
    padding:0;
    align-items: baseline;
}

这是HTML页面

雷米

变更:

.column{
  margin: 100px;
}

.column{
  margin-left : 100px;
  margin-right: 100px;
}

将删除行之间的空间。这是您要找的最终结果吗?

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

查找两个间隔之间的间隔

来自分类Dev

查找间隔为n的两个日期之间的行

来自分类Dev

查找间隔为n的两个日期之间的行

来自分类Dev

以R中两个坐标之间的间隔计算点

来自分类Dev

两个或两个以上时间间隔之间的持续时间(在PHP中)

来自分类Dev

Jquery 在表行中的两个类之间切换

来自分类Dev

如何区分两列之间的两个时间间隔?

来自分类Dev

在Flutter中的两个类之间传递变量

来自分类Dev

从两个表中查找日期时间之间的时间间隔

来自分类Dev

如何获取碳中两个时间间隔之间的差异

来自分类Dev

如何测量Arduino中pin2上两个输入之间的时间间隔?

来自分类Dev

您可以计算KDB +(Q)中两个特定列值之间的时间间隔吗?

来自分类Dev

如何在Oracle中的两个时间间隔之间分布平均值

来自分类Dev

从两个表中查找日期时间之间的时间间隔

来自分类Dev

无法在 Swift 中获取两个 NSDate() 实例之间的时间间隔

来自分类Dev

一年中两个日期之间的间隔期

来自分类Dev

如何在android中获得两个日期之间的周间隔?

来自分类Dev

查找两个间隔数据之间的重叠范围

来自分类Dev

获取两个NSDate之间的时间间隔

来自分类Dev

计算两个时间戳记之间的时间间隔(分钟)

来自分类Dev

查找两个表之间的最小正间隔

来自分类Dev

检查两个日期之间的间隔天数(失败)

来自分类Dev

如何计算两个“ keyup”事件之间的时间间隔

来自分类Dev

查找两个整数间隔之间的设置差

来自分类Dev

不同单元格的两个日期之间的间隔

来自分类Dev

给出两个连续的Javafx动画之间的时间间隔

来自分类Dev

检查时间是否在两个间隔之间

来自分类Dev

两个日期之间的时间间隔返回nil

来自分类Dev

提取外壳中两个行号之间的行

Related 相关文章

  1. 1

    查找两个间隔之间的间隔

  2. 2

    查找间隔为n的两个日期之间的行

  3. 3

    查找间隔为n的两个日期之间的行

  4. 4

    以R中两个坐标之间的间隔计算点

  5. 5

    两个或两个以上时间间隔之间的持续时间(在PHP中)

  6. 6

    Jquery 在表行中的两个类之间切换

  7. 7

    如何区分两列之间的两个时间间隔?

  8. 8

    在Flutter中的两个类之间传递变量

  9. 9

    从两个表中查找日期时间之间的时间间隔

  10. 10

    如何获取碳中两个时间间隔之间的差异

  11. 11

    如何测量Arduino中pin2上两个输入之间的时间间隔?

  12. 12

    您可以计算KDB +(Q)中两个特定列值之间的时间间隔吗?

  13. 13

    如何在Oracle中的两个时间间隔之间分布平均值

  14. 14

    从两个表中查找日期时间之间的时间间隔

  15. 15

    无法在 Swift 中获取两个 NSDate() 实例之间的时间间隔

  16. 16

    一年中两个日期之间的间隔期

  17. 17

    如何在android中获得两个日期之间的周间隔?

  18. 18

    查找两个间隔数据之间的重叠范围

  19. 19

    获取两个NSDate之间的时间间隔

  20. 20

    计算两个时间戳记之间的时间间隔(分钟)

  21. 21

    查找两个表之间的最小正间隔

  22. 22

    检查两个日期之间的间隔天数(失败)

  23. 23

    如何计算两个“ keyup”事件之间的时间间隔

  24. 24

    查找两个整数间隔之间的设置差

  25. 25

    不同单元格的两个日期之间的间隔

  26. 26

    给出两个连续的Javafx动画之间的时间间隔

  27. 27

    检查时间是否在两个间隔之间

  28. 28

    两个日期之间的时间间隔返回nil

  29. 29

    提取外壳中两个行号之间的行

热门标签

归档